FMF-ART / mbed-dev-lib

Fork of mbed-dev by mbed official

Revision:
19:112740acecfa
Parent:
0:9b334a45a8ff
Child:
23:ee8ca7052b3c
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/us_ticker.c	Mon Nov 09 13:30:11 2015 +0000
+++ b/targets/hal/TARGET_STM/TARGET_STM32F4/us_ticker.c	Tue Nov 10 09:30:11 2015 +0000
@@ -29,7 +29,11 @@
 #include "us_ticker_api.h"
 #include "PeripheralNames.h"
 
+#ifdef TARGET_STM32F469
+#define TIM_MST TIM2
+#else
 #define TIM_MST TIM5
+#endif
 
 static TIM_HandleTypeDef TimMasterHandle;
 static int us_ticker_inited = 0;