From 32ed3538af8d04f23ad56c4a20d364fd508fcd62 Mon Sep 17 00:00:00 2001 From: Armando Date: Thu, 10 Aug 2023 10:16:20 +0800 Subject: [PATCH] fix(pwm): fix struct def --- components/soc/esp32p4/include/soc/mcpwm_struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32p4/include/soc/mcpwm_struct.h b/components/soc/esp32p4/include/soc/mcpwm_struct.h index a0fa37e83b..2b72d044e1 100644 --- a/components/soc/esp32p4/include/soc/mcpwm_struct.h +++ b/components/soc/esp32p4/include/soc/mcpwm_struct.h @@ -1881,7 +1881,7 @@ typedef struct { volatile mcpwm_op_tstmp_reg_t timestamp[2]; } mcpwm_operator_tstmp_reg_t; -typedef struct { +typedef struct mcpwm_dev_t { volatile mcpwm_clk_cfg_reg_t clk_cfg; volatile mcpwm_timer_regs_t timer[3]; volatile mcpwm_timer_synci_cfg_reg_t timer_synci_cfg;