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_pcf50605.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/drivers/rtc/rtc_pcf50605.c') diff --git a/firmware/drivers/rtc/rtc_pcf50605.c b/firmware/drivers/rtc/rtc_pcf50605.c index b030fba37a..8c54a590c6 100644 --- a/firmware/drivers/rtc/rtc_pcf50605.c +++ b/firmware/drivers/rtc/rtc_pcf50605.c @@ -92,9 +92,8 @@ bool rtc_check_alarm_flag(void) * The Ipod bootloader clears all PCF interrupt registers and always enables * the "wake on RTC" bit on OOCC1, so we have to rely on other means to find * out if we just woke from an alarm. - * Return value is always false for us. */ -bool rtc_enable_alarm(bool enable) +void rtc_enable_alarm(bool enable) { if (enable) { /* Tell the PCF to ignore everything but second, minute and hour, so @@ -114,7 +113,6 @@ bool rtc_enable_alarm(bool enable) /* Make sure we don't wake on RTC after shutting down */ pcf50605_wakeup_flags &= ~0x10; } - return false; } /** -- cgit v1.2.3