From f22d2f46a108ef6e6c6fc6c90e37c557f7b57100 Mon Sep 17 00:00:00 2001 From: m1nl Date: Fri, 6 Jun 2025 21:17:56 +0200 Subject: [PATCH] fix logging --- src/sleep.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sleep.cpp b/src/sleep.cpp index 46b523370..04b1e0d00 100644 --- a/src/sleep.cpp +++ b/src/sleep.cpp @@ -480,7 +480,7 @@ void enableButtonInterrupt() pin = (gpio_num_t)(config.device.button_gpio ? config.device.button_gpio : BUTTON_PIN); #ifdef SOC_PM_SUPPORT_EXT_WAKEUP if (rtc_gpio_is_valid_gpio(pin)) { - LOG_DEBUG("Setup button pin (GPIO%02d) with wakeup by ext2 source", pin); + LOG_DEBUG("Setup button pin (GPIO%02d) with wakeup by ext1 source", pin); #ifdef BUTTON_NEED_PULLUP res = rtc_gpio_pullup_en(pin); assert(res == ESP_OK); @@ -534,7 +534,7 @@ void enableLoraInterrupt() #if SOC_PM_SUPPORT_EXT_WAKEUP if (rtc_gpio_is_valid_gpio(pin)) { - LOG_DEBUG("Setup radio interrupt (GPIO%02d) with wakeup by ext1 source", pin); + LOG_DEBUG("Setup radio interrupt (GPIO%02d) with wakeup by ext0 source", pin); res = rtc_gpio_pulldown_en((gpio_num_t)pin); assert(res == ESP_OK); res = rtc_gpio_hold_en((gpio_num_t)pin);