Only log RT in scanner when holdtime > 5 seconds

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-02-26 11:14:27 +01:00
parent 25a8c4124c
commit 4d72dfe131
2 changed files with 2 additions and 1 deletions

View File

@@ -271,7 +271,7 @@ byte addRowToCSV() {
// Replace commas in the station name and radio text to avoid CSV conflicts
String stationName = radio.rds.stationName;
String radioTextModified = radioText;
String radioTextModified = (scanhold > 4 ? radioText : "");
stationName.replace(",", " "); // Replace commas in station name
radioTextModified.replace(",", " "); // Replace commas in radio text