From 6d02c4121757413272be6c6e9f2513daaadaa9b6 Mon Sep 17 00:00:00 2001 From: KonradIT Date: Mon, 7 Oct 2024 19:51:16 +0200 Subject: [PATCH] Added a delay when frequency scan result is invalid --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index bacbf1e..480c3b2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -471,6 +471,7 @@ void logToSerialTask(void *parameter) } if (highest_value_scanned == 999) { + vTaskDelay(LOG_DATA_JSON_INTERVAL / portTICK_PERIOD_MS); continue; }