diff options
author | siddhu8990 | 2016-10-18 10:31:23 +0530 |
---|---|---|
committer | siddhu8990 | 2016-10-18 10:31:23 +0530 |
commit | cdd9bf519d594b87c07193d2770b81a07829a50c (patch) | |
tree | c8985f43c314cafcfa04053a821116424d54c2a1 /2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c | |
parent | f0ef5a2d4560f166751b58020ee5a2bc70904611 (diff) | |
download | Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.gz Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.bz2 Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.zip |
Suppressed declaration of not required variables and functions
Diffstat (limited to '2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c')
-rw-r--r-- | 2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c b/2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c index 5110d812..945f2312 100644 --- a/2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c +++ b/2.3-1/src/c/hardware/avr/pwm/u8AVRPWMSetups.c @@ -33,7 +33,7 @@ #include "AVRPeripheralPWM.h" -uint8 u8AVRPWMSetups(uint8 timer, uint8 prescalar, uint8 waveform_mode, uint8 output_mode) +void u8AVRPWMSetups(uint8 timer, uint8 prescalar, uint8 waveform_mode, uint8 output_mode) { switch(timer) { @@ -56,7 +56,5 @@ uint8 u8AVRPWMSetups(uint8 timer, uint8 prescalar, uint8 waveform_mode, uint8 ou TCCR2 |= ((output_mode & 0x02) << 6); //WGM1 break; } - - return 0; } |