aboutsummaryrefslogtreecommitdiffstats
path: root/lab5/RTDSP/intio.c
diff options
context:
space:
mode:
Diffstat (limited to 'lab5/RTDSP/intio.c')
-rw-r--r--lab5/RTDSP/intio.c7
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) {};