mbed
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32630/rtc_api.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 157:ff67d9f36b67
- Child:
- 175:b96e65c34a4d
diff -r 289d4deac6e4 -r e614a9f1c9e2 targets/TARGET_Maxim/TARGET_MAX32630/rtc_api.c --- a/targets/TARGET_Maxim/TARGET_MAX32630/rtc_api.c Wed May 10 12:06:41 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32630/rtc_api.c Fri May 26 12:39:01 2017 +0100 @@ -71,9 +71,9 @@ CLKMAN_SetClkScale(CLKMAN_CLK_SYNC, CLKMAN_SCALE_DIV_1); // Prepare interrupt handlers - NVIC_SetVector(RTC0_IRQn, lp_ticker_irq_handler); + NVIC_SetVector(RTC0_IRQn, (uint32_t)lp_ticker_irq_handler); NVIC_EnableIRQ(RTC0_IRQn); - NVIC_SetVector(RTC3_IRQn, overflow_handler); + NVIC_SetVector(RTC3_IRQn, (uint32_t)overflow_handler); NVIC_EnableIRQ(RTC3_IRQn); // Enable wakeup on RTC rollover