Skip to content

Commit 3c7e896

Browse files
ci(pre-commit): Apply automatic fixes
1 parent b56e9e7 commit 3c7e896

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: cores/esp32/esp32-hal-touch.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ static void __touchInit() {
143143
if (err != ESP_OK) {
144144
goto err;
145145
}
146-
touch_pad_intr_enable(); // returns ESP_OK
147-
#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3
146+
touch_pad_intr_enable(); // returns ESP_OK
147+
#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3
148148
err = touch_pad_init();
149149
if (err != ESP_OK) {
150150
goto err;
@@ -183,7 +183,7 @@ static void __touchChannelInit(int pad) {
183183
// Initial no Threshold and setup
184184
__touchInterruptHandlers[pad].fn = NULL;
185185
touch_pad_config(pad, TOUCH_PAD_THRESHOLD_MAX); // returns ESP_OK
186-
#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3
186+
#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3
187187
// Initial no Threshold and setup
188188
__touchInterruptHandlers[pad].fn = NULL;
189189
touch_pad_config(pad); // returns ESP_OK

Diff for: libraries/Ethernet/src/ETH.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ bool ETHClass::begin(eth_phy_type_t type, int32_t phy_addr, int mdc, int mdio, i
171171
_ethernets[_eth_index] = this;
172172

173173
#if CONFIG_IDF_TARGET_ESP32
174-
#undef DEFAULT_RMII_CLK_GPIO
175-
#define DEFAULT_RMII_CLK_GPIO (emac_rmii_clock_gpio_t)(CONFIG_ETH_RMII_CLK_IN_GPIO)
174+
#undef DEFAULT_RMII_CLK_GPIO
175+
#define DEFAULT_RMII_CLK_GPIO (emac_rmii_clock_gpio_t)(CONFIG_ETH_RMII_CLK_IN_GPIO)
176176
#endif
177177

178178
eth_esp32_emac_config_t mac_config = ETH_ESP32_EMAC_DEFAULT_CONFIG();

0 commit comments

Comments
 (0)