test

Fork of mbed-dev by mbed official

Revision:
166:e614a9f1c9e2
Parent:
157:ff67d9f36b67
Child:
175:b96e65c34a4d
--- 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);