diff options
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; } |