Skip to content

Commit d367d39

Browse files
ci(pre-commit): Apply automatic fixes
1 parent d1a8bf6 commit d367d39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: libraries/ESP32/examples/DeepSleep/ExternalWakeUp/ExternalWakeUp.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include "driver/rtc_io.h"
2424

2525
#define BUTTON_PIN_BITMASK(GPIO) (1ULL << GPIO) // 2 ^ GPIO_NUMBER in hex
26-
#define USE_EXT0_WAKEUP 1 // 1 = EXT0 wakeup, 0 = EXT1 wakeup
27-
#define WAKEUP_GPIO GPIO_NUM_33 // Only RTC IO are allowed - ESP32 Pin example
26+
#define USE_EXT0_WAKEUP 1 // 1 = EXT0 wakeup, 0 = EXT1 wakeup
27+
#define WAKEUP_GPIO GPIO_NUM_33 // Only RTC IO are allowed - ESP32 Pin example
2828
RTC_DATA_ATTR int bootCount = 0;
2929

3030
/*
@@ -74,8 +74,8 @@ void setup() {
7474
// No need to keep that power domain explicitly, unlike EXT1.
7575
rtc_gpio_pullup_dis(WAKEUP_GPIO);
7676
rtc_gpio_pulldown_en(WAKEUP_GPIO);
77-
78-
#else // EXT1 WAKEUP
77+
78+
#else // EXT1 WAKEUP
7979
//If you were to use ext1, you would use it like
8080
esp_sleep_enable_ext1_wakeup_io(BUTTON_PIN_BITMASK(WAKEUP_GPIO), ESP_EXT1_WAKEUP_ANY_HIGH);
8181
/*

0 commit comments

Comments
 (0)