forked from len0rd/rockbox
Add wake on alarm support for Ipods. Rename HAVE_ALARM_MOD to HAVE_ALARM_RTC since it's not always a mod. Make Ipod PCF driver keep other flags in OOCC1 that have been set instead of overwriting them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12522 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ab66955664
commit
8fd6d658a1
20 changed files with 126 additions and 31 deletions
|
|
@ -47,13 +47,13 @@ int rtc_write(unsigned char address, unsigned char value);
|
|||
|
||||
#endif /* RTC_M41ST84W */
|
||||
|
||||
#ifdef HAVE_ALARM_MOD
|
||||
#ifdef HAVE_RTC_ALARM
|
||||
void rtc_set_alarm(int h, int m);
|
||||
void rtc_get_alarm(int *h, int *m);
|
||||
bool rtc_enable_alarm(bool enable);
|
||||
bool rtc_check_alarm_started(bool release_alarm);
|
||||
bool rtc_check_alarm_flag(void);
|
||||
#endif /* HAVE_ALARM_MOD */
|
||||
#endif /* HAVE_RTC_ALARM */
|
||||
|
||||
#endif /* CONFIG_RTC */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue