From 5d6c050376b585d88ce588962f55e9aaa93adaac Mon Sep 17 00:00:00 2001 From: jingli Date: Thu, 14 Jul 2022 11:55:19 +0800 Subject: [PATCH] examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold --- examples/wifi/power_save/sdkconfig.defaults | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/wifi/power_save/sdkconfig.defaults b/examples/wifi/power_save/sdkconfig.defaults index 774d706160..cb1a0a7317 100644 --- a/examples/wifi/power_save/sdkconfig.defaults +++ b/examples/wifi/power_save/sdkconfig.defaults @@ -12,3 +12,5 @@ CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL=y CONFIG_PM_SLP_DISABLE_GPIO=y # Enable wifi sleep iram optimization CONFIG_ESP_WIFI_SLP_IRAM_OPT=y +# Use 1000Hz freertos tick to lower sleep time threshold +CONFIG_FREERTOS_HZ=1000