From 1e9f384df5081919275837e170db6ea34623be7d Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 3 Jun 2018 22:28:48 +0200 Subject: [PATCH] reduced all task loop delays from 10 to 1 --- platformio.ini | 4 ++-- src/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index 72a8988d..43860148 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,8 +13,8 @@ [platformio] ;env_default = heltec ;env_default = ttgov1 -;env_default = ttgov2 -env_default = ttgov21 +env_default = ttgov2 +;env_default = ttgov21 ;env_default = lopy ;env_default = lopy4 ;env_default = fipy diff --git a/src/main.cpp b/src/main.cpp index cb272337..9d169e01 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -218,7 +218,7 @@ void sniffer_loop(void * pvParameters) { wifi_sniffer_set_channel(channel); ESP_LOGD(TAG, "Wifi set channel %d", channel); - vTaskDelay(10/portTICK_PERIOD_MS); // reset watchdog + vTaskDelay(1/portTICK_PERIOD_MS); // reset watchdog } } // end of infinite wifi channel rotation loop @@ -627,7 +627,7 @@ void loop() { reset_salt(); // get new salt for salting hashes } - vTaskDelay(10/portTICK_PERIOD_MS); // reset watchdog + vTaskDelay(1/portTICK_PERIOD_MS); // reset watchdog } // end of infinite main loop }