aboutsummaryrefslogtreecommitdiffstats
path: root/lab5/RTDSP/intio.c
diff options
context:
space:
mode:
authorymherklotz <ymherklotz@gmail.com>2018-02-27 11:08:47 +0000
committerymherklotz <ymherklotz@gmail.com>2018-02-27 11:08:47 +0000
commit505e31b789f4bc0dde0eed952257e5460f788f4e (patch)
treeaeffcc3a01a2d1d9a3f4eabb80959d062fe2e84f /lab5/RTDSP/intio.c
parent2a7a81942e8603689517eaf119b3e847c6cf5f0b (diff)
downloadNoiseSilencer-505e31b789f4bc0dde0eed952257e5460f788f4e.tar.gz
NoiseSilencer-505e31b789f4bc0dde0eed952257e5460f788f4e.zip
Adding more images
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) {};