diff options
-rw-r--r-- | firmware/drivers/rtc/rtc_mc13783.c | 2 | ||||
-rw-r--r-- | firmware/export/mc13783.h | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/rtc/rtc_mc13783.c b/firmware/drivers/rtc/rtc_mc13783.c index 010b19a6a7..9f922a10a6 100644 --- a/firmware/drivers/rtc/rtc_mc13783.c +++ b/firmware/drivers/rtc/rtc_mc13783.c @@ -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; } diff --git a/firmware/export/mc13783.h b/firmware/export/mc13783.h index 61d7b37a1c..c941100d1e 100644 --- a/firmware/export/mc13783.h +++ b/firmware/export/mc13783.h @@ -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_ */ diff --git a/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c b/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c index 20a54c5bb4..3af4b48b66 100644 --- a/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c +++ b/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c @@ -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); |