From cdd9bf519d594b87c07193d2770b81a07829a50c 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 --- 2.3-1/src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2.3-1/src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c') diff --git a/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c b/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c index 5a7ccd15..0cca7a70 100644 --- a/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c +++ b/2.3-1/src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c @@ -18,11 +18,11 @@ #include "types.h" #include "RPIPeripheralPWM.h" -uint8 u8RPIHardPWMSetModes(uint8 mode) +void u8RPIHardPWMSetModes(uint8 mode) { if (mode == 1) /*mark/space mode*/ pwmSetMode(PWM_MODE_MS); else pwmSetMode(PWM_MODE_BAL); - return 0; + } -- cgit