mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_Maxim/TARGET_MAX32630/us_ticker.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 157:ff67d9f36b67
- Child:
- 174:b96e65c34a4d
diff -r 289d4deac6e4 -r e614a9f1c9e2 targets/TARGET_Maxim/TARGET_MAX32630/us_ticker.c --- a/targets/TARGET_Maxim/TARGET_MAX32630/us_ticker.c Wed May 10 12:06:41 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32630/us_ticker.c Fri May 26 12:39:01 2017 +0100 @@ -140,7 +140,7 @@ cfg.compareCount = 0xFFFFFFFF; TMR32_Config(US_TIMER, &cfg); - NVIC_SetVector(US_TIMER_IRQn, tmr_handler); + NVIC_SetVector(US_TIMER_IRQn, (uint32_t)tmr_handler); NVIC_EnableIRQ(US_TIMER_IRQn); TMR32_EnableINT(US_TIMER);