diff options
author | ymherklotz <ymherklotz@gmail.com> | 2018-02-27 11:08:47 +0000 |
---|---|---|
committer | ymherklotz <ymherklotz@gmail.com> | 2018-02-27 11:08:47 +0000 |
commit | 505e31b789f4bc0dde0eed952257e5460f788f4e (patch) | |
tree | aeffcc3a01a2d1d9a3f4eabb80959d062fe2e84f /lab5/RTDSP/intio.c | |
parent | 2a7a81942e8603689517eaf119b3e847c6cf5f0b (diff) | |
download | NoiseSilencer-505e31b789f4bc0dde0eed952257e5460f788f4e.tar.gz NoiseSilencer-505e31b789f4bc0dde0eed952257e5460f788f4e.zip |
Adding more images
Diffstat (limited to 'lab5/RTDSP/intio.c')
-rw-r--r-- | lab5/RTDSP/intio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lab5/RTDSP/intio.c b/lab5/RTDSP/intio.c index 8317826..2cc485a 100644 --- a/lab5/RTDSP/intio.c +++ b/lab5/RTDSP/intio.c @@ -82,7 +82,6 @@ void ISR_AIC(void); short circ_fir(void); /********************************** Main routine ************************************/ void main(){ - int i; x = (short*)calloc(N, sizeof(short)); y = (double*)calloc(N, sizeof(double)); // initialize board and the audio port @@ -90,12 +89,6 @@ void main(){ /* initialize hardware interrupts */ init_HWI(); - - /* Initialises array to 0 */ - for (i = 0; i < N; ++i) { - y[i] = 0.0; - x[i] = 0; - } /* loop indefinitely, waiting for interrupts */ while(1) {}; |