diff --git a/arch/xtensa/src/esp32/hardware/esp32_iomux.h b/arch/xtensa/src/esp32/hardware/esp32_iomux.h index 894c9737df..48f4fb67ee 100644 --- a/arch/xtensa/src/esp32/hardware/esp32_iomux.h +++ b/arch/xtensa/src/esp32/hardware/esp32_iomux.h @@ -63,7 +63,7 @@ #define PIN_FUNC_GPIO 2 -#define PIN_CTRL (DR_REG_IO_MUX_BASE +0x00) +#define PIN_CTRL (DR_REG_IO_MUX_BASE + 0x00) #define CLK_OUT3 0xf #define CLK_OUT3_S 8 #define CLK_OUT2 0xf diff --git a/arch/xtensa/src/esp32/hardware/esp32_soc.h b/arch/xtensa/src/esp32/hardware/esp32_soc.h index 746b3810a0..3bda223763 100644 --- a/arch/xtensa/src/esp32/hardware/esp32_soc.h +++ b/arch/xtensa/src/esp32/hardware/esp32_soc.h @@ -776,8 +776,6 @@ extern int rom_i2c_writeReg(int block, int block_id, int reg_add, #define FE2_TX_INF_FORCE_PD_V 1 #define FE2_TX_INF_FORCE_PD_S 9 -#define PIN_CTRL (DR_REG_IO_MUX_BASE + 0x00) - /**************************************************************************** * Inline Functions ****************************************************************************/