From c1c02b5cfd698abf2e505d0c0f970da72487a946 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 12 Oct 2024 22:58:11 -0700 Subject: [PATCH] error: 'max_result' was not declared in this scope --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index a985301..a3d9b44 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -508,7 +508,6 @@ void logToSerialTask(void *parameter) JsonDocument doc; char jsonOutput[200]; #endif - uint64_t last_epoch = frequency_scan_result.last_epoch; frequency_scan_result.rssi = -999; @@ -530,7 +529,7 @@ void logToSerialTask(void *parameter) #ifdef HELTEC doc["low_range_freq"] = frequency_scan_result.begin; doc["high_range_freq"] = frequency_scan_result.end; - doc["value"] = max_result; + // doc["value"] = max_result; /ToDO: Fix serializeJson(doc, jsonOutput); Serial.println(jsonOutput);