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 | |
parent | 2a7a81942e8603689517eaf119b3e847c6cf5f0b (diff) | |
download | NoiseSilencer-505e31b789f4bc0dde0eed952257e5460f788f4e.tar.gz NoiseSilencer-505e31b789f4bc0dde0eed952257e5460f788f4e.zip |
Adding more images
Diffstat (limited to 'lab5/RTDSP')
-rw-r--r-- | lab5/RTDSP/.launches/RTDSP.launch | 2 | ||||
-rw-r--r-- | lab5/RTDSP/intio.c | 7 |
2 files changed, 1 insertions, 8 deletions
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 @@ <stringAttribute key="CCEDebugOptions.TARGET_CONFIGURATION_OPTION" value="full"/> <stringAttribute key="org.eclipse.cdt.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8"?> <memoryBlockExpressionList/> "/> <stringAttribute key="com.ti.ccstudio.debug.core.MRU_PROGRAM_NAME" value="C:\Github\RTDSP\lab5\RTDSP\Debug\RTDSP.out"/> -<stringAttribute key="com.ti.ccstudio.debug.core.MRU_MODULES" value="<?xml version="1.0" encoding="UTF-8"?> <modules> <module name="C:\GIT\RTDSP\lab3\RTDSP\Debug\RTDSP.out" time="Fri Jan 19 14:07:28 GMT 2018" time_long="1516370848357"/> <module name="C:\Github\RTDSP\lab3\RTDSP\Debug\RTDSP.out" time="Tue Jan 23 11:15:11 GMT 2018" time_long="1516706111426"/> <module name="C:\GIT\RTDSP\lab4\RTDSP\Debug\RTDSP.out" time="Thu Feb 01 11:44:21 GMT 2018" time_long="1517485461898"/> <module name="C:\github\RTDSP\lab4\RTDSP\Debug\RTDSP.out" time="Thu Feb 15 13:55:55 GMT 2018" time_long="1518702955359"/> <module name="C:\Github\RTDSP\lab5\RTDSP\Debug\RTDSP.out" time="Tue Feb 27 10:33:39 GMT 2018" time_long="1519727619443"/> </modules> "/> +<stringAttribute key="com.ti.ccstudio.debug.core.MRU_MODULES" value="<?xml version="1.0" encoding="UTF-8"?> <modules> <module name="C:\GIT\RTDSP\lab3\RTDSP\Debug\RTDSP.out" time="Fri Jan 19 14:07:28 GMT 2018" time_long="1516370848357"/> <module name="C:\Github\RTDSP\lab3\RTDSP\Debug\RTDSP.out" time="Tue Jan 23 11:15:11 GMT 2018" time_long="1516706111426"/> <module name="C:\GIT\RTDSP\lab4\RTDSP\Debug\RTDSP.out" time="Thu Feb 01 11:44:21 GMT 2018" time_long="1517485461898"/> <module name="C:\github\RTDSP\lab4\RTDSP\Debug\RTDSP.out" time="Thu Feb 15 13:55:55 GMT 2018" time_long="1518702955359"/> <module name="C:\Github\RTDSP\lab5\RTDSP\Debug\RTDSP.out" time="Tue Feb 27 11:05:25 GMT 2018" time_long="1519729525911"/> </modules> "/> <stringAttribute key="CCEDebugOptions.CPU_NAME" value="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0/TMS320C671X"/> <stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="RTDSP"/> <stringAttribute key="org.eclipse.cdt.launch.GLOBAL_VARIABLES" value="<?xml version="1.0" encoding="UTF-8"?> <globalVariableList/> "/> 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) {}; |