From ba46c88c6f077f7e6e1c266e9742870802037b68 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 22 May 2010 00:28:26 +0000 Subject: rtc_enable_alarm() needs no return value git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26245 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/rtc/rtc_as3514.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/rtc/rtc_as3514.c') diff --git a/firmware/drivers/rtc/rtc_as3514.c b/firmware/drivers/rtc/rtc_as3514.c index fe2921b433..e5db839e77 100644 --- a/firmware/drivers/rtc/rtc_as3514.c +++ b/firmware/drivers/rtc/rtc_as3514.c @@ -111,9 +111,9 @@ void rtc_alarm_poweroff(void) while(1); } -bool rtc_enable_alarm(bool enable) +void rtc_enable_alarm(bool enable) { - return alarm_enabled = enable; + alarm_enabled = enable; } bool rtc_check_alarm_started(bool release_alarm) -- cgit v1.2.3