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 }