summaryrefslogtreecommitdiff
path: root/src/c/hardware/avr/includes
diff options
context:
space:
mode:
authorsiddhu89902016-10-18 10:31:23 +0530
committersiddhu89902016-10-18 10:31:23 +0530
commit52de97290366abe6cfb0576ca19d9c1732c1f0ea (patch)
treec2effe8b6e60c112b126f1d39ddb0d82253dc4e9 /src/c/hardware/avr/includes
parent9a30882032e80661fe6c69d7c50da0154e4e431f (diff)
downloadScilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.gz
Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.bz2
Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.zip
Suppressed declaration of not required variables and functions
Diffstat (limited to 'src/c/hardware/avr/includes')
-rw-r--r--src/c/hardware/avr/includes/AVRPeripheralADC.h2
-rw-r--r--src/c/hardware/avr/includes/AVRPeripheralGPIO.h4
-rw-r--r--src/c/hardware/avr/includes/AVRPeripheralPWM.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/c/hardware/avr/includes/AVRPeripheralADC.h b/src/c/hardware/avr/includes/AVRPeripheralADC.h
index e343de6..736c340 100644
--- a/src/c/hardware/avr/includes/AVRPeripheralADC.h
+++ b/src/c/hardware/avr/includes/AVRPeripheralADC.h
@@ -15,7 +15,7 @@ extern "C" {
#endif
//Function prototypes
-uint8 u8AVRADCSetups(uint8 prescalar, uint8 adc_ref);
+void u8AVRADCSetups(uint8 prescalar, uint8 adc_ref);
uint16 u8AVRReadADCs(uint8 channel);
diff --git a/src/c/hardware/avr/includes/AVRPeripheralGPIO.h b/src/c/hardware/avr/includes/AVRPeripheralGPIO.h
index ddbeb2d..37f2377 100644
--- a/src/c/hardware/avr/includes/AVRPeripheralGPIO.h
+++ b/src/c/hardware/avr/includes/AVRPeripheralGPIO.h
@@ -32,11 +32,11 @@ extern "C" {
#define HIGH 1
//Function prototypes
-uint8 u8AVRDigitalSetups(uint8 port,uint8 pin,uint8 direction);
+void u8AVRDigitalSetups(uint8 port,uint8 pin,uint8 direction);
uint8 u8AVRDigitalIns(uint8 port,uint8 pin);
-uint8 u8AVRDigitalOuts(uint8 port,uint8 pin,uint8 state);
+void u8AVRDigitalOuts(uint8 port,uint8 pin,uint8 state);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/src/c/hardware/avr/includes/AVRPeripheralPWM.h b/src/c/hardware/avr/includes/AVRPeripheralPWM.h
index 7371dd7..2e41db6 100644
--- a/src/c/hardware/avr/includes/AVRPeripheralPWM.h
+++ b/src/c/hardware/avr/includes/AVRPeripheralPWM.h
@@ -15,9 +15,9 @@ extern "C" {
#endif
//Function prototypes
-uint8 u8AVRPWMSetups(uint8 timer, uint8 prescalar, uint8 waveform_mode, uint8 output_mode);
+void u8AVRPWMSetups(uint8 timer, uint8 prescalar, uint8 waveform_mode, uint8 output_mode);
-uint8 u8AVRPWMSetDutys(uint8 timer, uint8 duty);
+void u8AVRPWMSetDutys(uint8 timer, uint8 duty);
#ifdef __cplusplus