From 1e3dd97fbf2b57de15579c4d2c281f2375ae099a Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Wed, 9 Sep 2026 11:30:44 +0800 Subject: [PATCH] fix(unit-test): config wakeup gpio pin internal pullup to avoid input floating --- .../test_apps/wakeup_tests/main/src/io_wakeup_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/test_apps/wakeup_tests/main/src/io_wakeup_cmd.c b/components/esp_hw_support/test_apps/wakeup_tests/main/src/io_wakeup_cmd.c index 0f60e176ad3..2e6ed0a7f9f 100644 --- a/components/esp_hw_support/test_apps/wakeup_tests/main/src/io_wakeup_cmd.c +++ b/components/esp_hw_support/test_apps/wakeup_tests/main/src/io_wakeup_cmd.c @@ -258,7 +258,7 @@ static int process_gpio_wakeup(int argc, char **argv) .pin_bit_mask = BIT64(io_wakeup_num), .mode = GPIO_MODE_INPUT, .pull_down_en = false, - .pull_up_en = false, + .pull_up_en = true, .intr_type = (io_wakeup_level == 0) ? GPIO_INTR_LOW_LEVEL : GPIO_INTR_HIGH_LEVEL }; ESP_ERROR_CHECK(gpio_config(&config));