forked
Diff: targets/TARGET_Maxim/TARGET_MAX32630/us_ticker.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 157:ff67d9f36b67
--- 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);