Fix TIM state in updated H7 HAL.

This commit is contained in:
iabdalkader 2020-12-04 00:57:28 +02:00
parent 71b3f62275
commit 9c5a15973a

View File

@ -422,6 +422,9 @@ HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim)
__HAL_TIM_ENABLE(htim);
}
/* Set the TIM state */
htim->State = HAL_TIM_STATE_READY;
/* Return function status */
return HAL_OK;
}