test

Fork of mbed-dev by mbed official

Revision:
166:e614a9f1c9e2
Parent:
153:fa9ff456f731
Child:
168:e84263d55307
diff -r 289d4deac6e4 -r e614a9f1c9e2 targets/TARGET_STM/us_ticker_16b.c
--- a/targets/TARGET_STM/us_ticker_16b.c	Wed May 10 12:06:41 2017 +0100
+++ b/targets/TARGET_STM/us_ticker_16b.c	Fri May 26 12:39:01 2017 +0100
@@ -35,7 +35,7 @@
 {
     TimMasterHandle.Instance = TIM_MST;
     // Set new output compare value
-    __HAL_TIM_SetCompare(&TimMasterHandle, TIM_CHANNEL_1, count);
+    __HAL_TIM_SET_COMPARE(&TimMasterHandle, TIM_CHANNEL_1, count);
     // Enable IT
     __HAL_TIM_ENABLE_IT(&TimMasterHandle, TIM_IT_CC1);
 }