diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-21 19:57:19 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-21 19:57:19 +0000 |
commit | 5672d7e342e603c5796cc154950bafbb23a8c479 (patch) | |
tree | 63ef6a420fc86d3522ae52693e681d33aee5b5e2 | |
parent | 921fd2865e785c53e3167f4588055c5a84d58b5a (diff) | |
download | NoiseSilencer-5672d7e342e603c5796cc154950bafbb23a8c479.tar.gz NoiseSilencer-5672d7e342e603c5796cc154950bafbb23a8c479.zip |
Cleaning files more
-rw-r--r-- | lab2/RTDSP/sine.c | 2 | ||||
-rw-r--r-- | lab3/RTDSP/intio.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lab2/RTDSP/sine.c b/lab2/RTDSP/sine.c index 561ca0c..44c9a62 100644 --- a/lab2/RTDSP/sine.c +++ b/lab2/RTDSP/sine.c @@ -170,7 +170,7 @@ void sine_init() } /********************************** sinegen() ***************************************/ -float sinegen(void) +float sinegen() { // temporary variable used to output values from function float wave; diff --git a/lab3/RTDSP/intio.c b/lab3/RTDSP/intio.c index 4ee527a..b40299f 100644 --- a/lab3/RTDSP/intio.c +++ b/lab3/RTDSP/intio.c @@ -133,7 +133,7 @@ void init_hardware() } /********************************** init_HWI() **************************************/ -void init_HWI(void) +void init_HWI() { IRQ_globalDisable(); // Globally disables interrupts IRQ_nmiEnable(); // Enables the NMI interrupt (used by the debugger) @@ -143,7 +143,7 @@ void init_HWI(void) } //Populates the table with appropriate sine values -void sine_init(void) +void sine_init() { int i; for(i = 0; i < SINE_TABLE_SIZE; i++) @@ -153,7 +153,7 @@ void sine_init(void) } //Returns the sample according to the sampling frequency -float sinegen(void) +float sinegen() { unsigned sample_index = sine_phase_ind * sine_freq * SINE_TABLE_SIZE / sampling_freq; sample_index = sample_index % SINE_TABLE_SIZE; @@ -164,7 +164,7 @@ float sinegen(void) /******************** INTERRUPT SERVICE ROUTINE ***********************/ /********************************** Ex2 ***************************************/ -void ISR_AIC(void) +void ISR_AIC() { // temporary variable used to output values from function float wave_out, wave; |