From d5d35ec90ba31d7568584c53bee7f697c67cba7d 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 39b5591cd67..8da9ed4762c 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 @@ -254,7 +254,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));