mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/us_ticker_16b.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 153:fa9ff456f731
- Child:
- 167:e84263d55307
--- 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); }