error: 'max_result' was not declared in this scope

This commit is contained in:
Egor
2024-10-12 22:58:11 -07:00
parent daf2c19685
commit c1c02b5cfd
+1 -2
View File
@@ -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);