1
0
Fork 0
forked from len0rd/rockbox

Oops, it's called mc13783...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2008-05-08 15:49:46 +00:00
parent 3ff1d584ef
commit 89aca6aa77
3 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ enum rtc_registers_indexes
/* was it an alarm that triggered power on ? */
static bool alarm_start = false;
void mc1378_alarm_start(void)
void mc13783_alarm_start(void)
{
alarm_start = true;
}

View file

@ -277,6 +277,6 @@ int mc13783_write_regset(const unsigned char *regs, const uint32_t *data, int co
uint32_t mc13783_read(unsigned address);
int mc13783_read_multiple(unsigned start, uint32_t *buffer, int count);
int mc13783_read_regset(const unsigned char *regs, uint32_t *buffer, int count);
void mc1378_alarm_start(void);
void mc13783_alarm_start(void);
#endif /* _MC13783_H_ */

View file

@ -67,7 +67,7 @@ static __attribute__((noreturn)) void mc13783_interrupt_thread(void)
gpio_enable_event(MC13783_GPIO_NUM, MC13783_EVENT_ID);
if (pending[1] & MC13783_TODA) /* only needs to be polled on startup */
mc1378_alarm_start();
mc13783_alarm_start();
/* Check initial states for events with a sense bit */
value = mc13783_read(MC13783_INTERRUPT_SENSE0);