Fork of mbed-dev build 137, last build before FAT file system appears to be broken. Also reduced HSE timeout time in STM4XX HAL
Fork of mbed-dev by
Diff: targets/TARGET_STM/us_ticker_16b.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 153:fa9ff456f731
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); }