From 44237b8e29cfa8a948b3ef8ceb8a829e44e5be85 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 9530877294f..8ac57edf9ac 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 = GPIO_PULLDOWN_DISABLE, - .pull_up_en = GPIO_PULLUP_DISABLE, + .pull_up_en = GPIO_PULLUP_ENABLE, .intr_type = (io_wakeup_level == 0) ? GPIO_INTR_LOW_LEVEL : GPIO_INTR_HIGH_LEVEL }; ESP_ERROR_CHECK(gpio_config(&config));