From 4062fcb1c20d2fcd7e9b4be0e0cd479497678de6 Mon Sep 17 00:00:00 2001 From: davidkreidler <13180124+davidkreidler@users.noreply.github.com> Date: Sun, 5 May 2024 23:42:04 +0200 Subject: [PATCH] v4.5 update libraries arduino-esp32 https://github.com/espressif/arduino-esp32/compare/2.0.13...2.0.16 Adafruit_BusIO https://github.com/adafruit/Adafruit_BusIO/compare/1.15.0...1.16.0 Sensirion Arduino Core Library https://github.com/Sensirion/arduino-core/compare/0.6.0...0.7.1 WiFiManager https://github.com/tzapu/WiFiManager/compare/v2.0.16-rc.2...v2.0.17 --- OpenCO2_Sensor.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCO2_Sensor.ino b/OpenCO2_Sensor.ino index b438aa1..a5761f7 100644 --- a/OpenCO2_Sensor.ino +++ b/OpenCO2_Sensor.ino @@ -318,7 +318,7 @@ void goto_deep_sleep(int ms) { /* Wakeup by IO0 button */ rtc_gpio_pullup_en(BUTTON); rtc_gpio_pulldown_dis(BUTTON); - esp_sleep_enable_ext1_wakeup(0x1,ESP_EXT1_WAKEUP_ALL_LOW); // 2^0 = GPIO_NUM_0 = BUTTON + esp_sleep_enable_ext1_wakeup(0x1,ESP_EXT1_WAKEUP_ANY_LOW); // 2^0 = GPIO_NUM_0 = BUTTON /* Keep LED enabled */ if (LEDonBattery) gpio_hold_en(LED_POWER);