summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_pcf50605.c
diff options
context:
space:
mode:
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)
92 * The Ipod bootloader clears all PCF interrupt registers and always enables 92 * The Ipod bootloader clears all PCF interrupt registers and always enables
93 * the "wake on RTC" bit on OOCC1, so we have to rely on other means to find 93 * the "wake on RTC" bit on OOCC1, so we have to rely on other means to find
94 * out if we just woke from an alarm. 94 * out if we just woke from an alarm.
95 * Return value is always false for us.
96 */ 95 */
97bool rtc_enable_alarm(bool enable) 96void rtc_enable_alarm(bool enable)
98{ 97{
99 if (enable) { 98 if (enable) {
100 /* Tell the PCF to ignore everything but second, minute and hour, so 99 /* Tell the PCF to ignore everything but second, minute and hour, so
@@ -114,7 +113,6 @@ bool rtc_enable_alarm(bool enable)
114 /* Make sure we don't wake on RTC after shutting down */ 113 /* Make sure we don't wake on RTC after shutting down */
115 pcf50605_wakeup_flags &= ~0x10; 114 pcf50605_wakeup_flags &= ~0x10;
116 } 115 }
117 return false;
118} 116}
119 117
120/** 118/**