From b8bac928667f64e3b2888f33c0e6b4b907529077 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 095cf13a24a..0c4f2c0e168 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 @@ -263,7 +263,7 @@ static int process_gpio_wakeup(int argc, char **argv) .pin_bit_mask = BIT64(io_wakeup_num), .mode = GPIO_MODE_INPUT, .pull_down_en = GPIO_PULLDOWN_DISABLE, - .pull_up_en = GPIO_PULLUP_DISABLE, + .pull_up_en = GPIO_PULLUP_ENABLE, .intr_type = (io_wakeup_type == 0) ? GPIO_INTR_LOW_LEVEL : GPIO_INTR_HIGH_LEVEL }; ESP_ERROR_CHECK(gpio_config(&config));