Skip to content

Commit

Permalink
Merge branch 'bugfix/mcpwm_legacy_typo_v5.1' into 'release/v5.1'
Browse files Browse the repository at this point in the history
mcpwm: fix typo in backward compatible macro name (v5.1)

See merge request espressif/esp-idf!24227
  • Loading branch information
suda-morris committed Jul 3, 2023
2 parents cacb45d + 896b382 commit 4f0f317
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 4f0f317

Please sign in to comment.