summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/rtc/rtc_pcf50605.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-22 00:28:26 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-22 00:28:26 +0000
commitba46c88c6f077f7e6e1c266e9742870802037b68 (patch)
tree8a663c4f83c4f11d19360c044a351e8bd7ced252 /firmware/drivers/rtc/rtc_pcf50605.c
parent8302c5fe17b0c9e74f1c1d9941c852153516387d (diff)
downloadrockbox-ba46c88c6f077f7e6e1c266e9742870802037b68.tar.gz
rockbox-ba46c88c6f077f7e6e1c266e9742870802037b68.tar.bz2
rockbox-ba46c88c6f077f7e6e1c266e9742870802037b68.zip
rtc_enable_alarm() needs no return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26245 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/rtc/rtc_pcf50605.c')
-rw-r--r--firmware/drivers/rtc/rtc_pcf50605.c4
1 files changed, 1 insertions, 3 deletions
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;
}
/**