Преглед изворни кода

examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold

jingli пре 3 година
родитељ
комит
c8be36c3f4
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      examples/wifi/power_save/sdkconfig.defaults

+ 2 - 0
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