From 896b382015311683d2333cc3d77815b2f84654f4 Mon Sep 17 00:00:00 2001 From: morris Date: Mon, 12 Jun 2023 19:31:31 +0800 Subject: [PATCH] mcpwm: fix typo in backward compatible macro name --- components/driver/deprecated/driver/mcpwm_types_legacy.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/driver/deprecated/driver/mcpwm_types_legacy.h b/components/driver/deprecated/driver/mcpwm_types_legacy.h index 44fd55bd099..7ccff8a3c7b 100644 --- a/components/driver/deprecated/driver/mcpwm_types_legacy.h +++ b/components/driver/deprecated/driver/mcpwm_types_legacy.h @@ -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 */ @@ -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