From 505e31b789f4bc0dde0eed952257e5460f788f4e Mon Sep 17 00:00:00 2001 From: ymherklotz Date: Tue, 27 Feb 2018 11:08:47 +0000 Subject: Adding more images --- lab5/RTDSP/.launches/RTDSP.launch | 2 +- lab5/RTDSP/intio.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'lab5/RTDSP') diff --git a/lab5/RTDSP/.launches/RTDSP.launch b/lab5/RTDSP/.launches/RTDSP.launch index 7a7af12..3ace42b 100644 --- a/lab5/RTDSP/.launches/RTDSP.launch +++ b/lab5/RTDSP/.launches/RTDSP.launch @@ -13,7 +13,7 @@ - + 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) {}; -- cgit