mcpwm: check sync direction is valid

This commit is contained in:
morris
2022-09-14 11:49:37 +08:00
parent 2f13368c63
commit 1fc458b3f7
3 changed files with 15 additions and 3 deletions
@@ -224,7 +224,7 @@ typedef enum {
/**
* @brief Array initializer for all supported clock sources of MCPWM Timer
*/
#define SOC_MCPWM_TIMER_CLKS {SOC_MOD_CLK_PLL_D2}
#define SOC_MCPWM_TIMER_CLKS {SOC_MOD_CLK_PLL_F160M}
/**
* @brief Type of MCPWM timer clock source