diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-22 00:28:26 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-22 00:28:26 +0000 |
commit | ba46c88c6f077f7e6e1c266e9742870802037b68 (patch) | |
tree | 8a663c4f83c4f11d19360c044a351e8bd7ced252 /firmware/drivers/rtc/rtc_mc13783.c | |
parent | 8302c5fe17b0c9e74f1c1d9941c852153516387d (diff) | |
download | rockbox-ba46c88c6f077f7e6e1c266e9742870802037b68.tar.gz 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_mc13783.c')
-rw-r--r-- | firmware/drivers/rtc/rtc_mc13783.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) | |||
218 | return false; | 218 | return false; |
219 | } | 219 | } |
220 | 220 | ||
221 | bool rtc_enable_alarm(bool enable) | 221 | void rtc_enable_alarm(bool enable) |
222 | { | 222 | { |
223 | if (enable) | 223 | if (enable) |
224 | mc13783_clear(MC13783_INTERRUPT_MASK1, MC13783_TODAM); | 224 | mc13783_clear(MC13783_INTERRUPT_MASK1, MC13783_TODAM); |
225 | else | 225 | else |
226 | mc13783_set(MC13783_INTERRUPT_MASK1, MC13783_TODAM); | 226 | mc13783_set(MC13783_INTERRUPT_MASK1, MC13783_TODAM); |
227 | |||
228 | return false; | ||
229 | } | 227 | } |
230 | 228 | ||
231 | bool rtc_check_alarm_started(bool release_alarm) | 229 | bool rtc_check_alarm_started(bool release_alarm) |