From 5672d7e342e603c5796cc154950bafbb23a8c479 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 21 Jan 2018 19:57:19 +0000 Subject: Cleaning files more --- lab3/RTDSP/intio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lab3/RTDSP') 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; -- cgit