pwm driver hal'd
This commit is contained in:
@@ -2963,7 +2963,7 @@ HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitT
|
||||
{
|
||||
/* Check the parameters */
|
||||
assert_param(IS_TIM_CHANNELS(Channel));
|
||||
assert_param(IS_TIM_OC_MODE(sConfig->OCMode));
|
||||
assert_param(IS_TIM_OC_MODE(sConfig->OCMode) || IS_TIM_PWM_MODE(sConfig->OCMode));
|
||||
assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity));
|
||||
|
||||
/* Check input state */
|
||||
|
Reference in New Issue
Block a user