Skip to content

Commit

Permalink
v4.5 update libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkreidler committed May 5, 2024
1 parent ea2eff7 commit 4062fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenCO2_Sensor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4062fcb

Please sign in to comment.