From 52de97290366abe6cfb0576ca19d9c1732c1f0ea Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Tue, 18 Oct 2016 10:31:23 +0530 Subject: Suppressed declaration of not required variables and functions --- src/c/hardware/avr/pwm/u8AVRPWMSetups.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/c/hardware/avr/pwm/u8AVRPWMSetups.c') diff --git a/src/c/hardware/avr/pwm/u8AVRPWMSetups.c b/src/c/hardware/avr/pwm/u8AVRPWMSetups.c index 5110d812..945f2312 100644 --- a/src/c/hardware/avr/pwm/u8AVRPWMSetups.c +++ b/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; } -- cgit