mcpwm: fix typo in backward compatible macro name

This commit is contained in:
morris 2023-06-14 11:40:40 +08:00
parent e33a1808d6
commit 5ef69e8a63

View File

@ -141,9 +141,9 @@ typedef enum {
} mcpwm_sync_signal_t;
// backward compatibility
#define MCPWM_SELCT_SYNC0 MCPWM_SELCT_GPIO_SYNC0
#define MCPWM_SELCT_SYNC1 MCPWM_SELCT_GPIO_SYNC1
#define MCPWM_SELCT_SYNC2 MCPWM_SELCT_GPIO_SYNC2
#define MCPWM_SELECT_SYNC0 MCPWM_SELECT_GPIO_SYNC0
#define MCPWM_SELECT_SYNC1 MCPWM_SELECT_GPIO_SYNC1
#define MCPWM_SELECT_SYNC2 MCPWM_SELECT_GPIO_SYNC2
/**
* @brief MCPWM timer sync event trigger