Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz committed Sep 29, 2024
1 parent 105bddf commit 8c6164e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/validation/sleep/sleep.ino
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void setup_gpio() {
esp_sleep_pd_config(ESP_PD_DOMAIN_VDDSDIO, ESP_PD_OPTION_ON);
gpio_pullup_dis(WAKEUP_GPIO);
gpio_pulldown_en(WAKEUP_GPIO);
gpio_wakeup_enable(WAKEUP_GPIO, GPIO_INTR_HIGH_LEVEL);
gpio_wakeup_enable(WAKEUP_GPIO, GPIO_INTR_LOW_LEVEL);
esp_sleep_enable_gpio_wakeup();
}

Expand Down
1 change: 1 addition & 0 deletions tests/validation/sleep/test_sleep.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def test_sleep(dut):
dut.expect_exact("Woke up from light sleep")
dut.expect_exact("Wakeup reason: {}".format(capability))
if capability == "timer":
LOGGER.info("Testing timer light sleep capability with low frequency")
dut.write("timer_freq_light")
dut.expect_exact("Woke up from light sleep")
dut.expect_exact("Wakeup reason: timer")

0 comments on commit 8c6164e

Please sign in to comment.