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_mc13783.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/drivers/rtc/rtc_mc13783.c') diff --git a/firmware/drivers/rtc/rtc_mc13783.c b/firmware/drivers/rtc/rtc_mc13783.c index 9cef3e904c..d98ae9ba06 100644 --- a/firmware/drivers/rtc/rtc_mc13783.c +++ b/firmware/drivers/rtc/rtc_mc13783.c @@ -218,14 +218,12 @@ bool rtc_check_alarm_flag(void) return false; } -bool rtc_enable_alarm(bool enable) +void rtc_enable_alarm(bool enable) { if (enable) mc13783_clear(MC13783_INTERRUPT_MASK1, MC13783_TODAM); else mc13783_set(MC13783_INTERRUPT_MASK1, MC13783_TODAM); - - return false; } bool rtc_check_alarm_started(bool release_alarm) -- cgit v1.2.3