Ver Fonte

fix(pwm): fix struct def

Armando há 2 anos atrás
pai
commit
32ed3538af
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      components/soc/esp32p4/include/soc/mcpwm_struct.h

+ 1 - 1
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;