Skip to content

Commit

Permalink
mcpwm: fix typo in backward compatible macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
suda-morris committed Jun 15, 2023
1 parent 4bc7626 commit 896b382
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/driver/deprecated/driver/mcpwm_types_legacy.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -130,9 +130,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
Expand Down

0 comments on commit 896b382

Please sign in to comment.