You've already forked TEF6686_ESP32
Only log RT in scanner when holdtime > 5 seconds
This commit is contained in:
@@ -271,7 +271,7 @@ byte addRowToCSV() {
|
|||||||
|
|
||||||
// Replace commas in the station name and radio text to avoid CSV conflicts
|
// Replace commas in the station name and radio text to avoid CSV conflicts
|
||||||
String stationName = radio.rds.stationName;
|
String stationName = radio.rds.stationName;
|
||||||
String radioTextModified = radioText;
|
String radioTextModified = (scanhold > 4 ? radioText : "");
|
||||||
stationName.replace(",", " "); // Replace commas in station name
|
stationName.replace(",", " "); // Replace commas in station name
|
||||||
radioTextModified.replace(",", " "); // Replace commas in radio text
|
radioTextModified.replace(",", " "); // Replace commas in radio text
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ extern bool scandxmode;
|
|||||||
extern byte band;
|
extern byte band;
|
||||||
extern byte chipmodel;
|
extern byte chipmodel;
|
||||||
extern byte language;
|
extern byte language;
|
||||||
|
extern byte scanhold;
|
||||||
extern byte unit;
|
extern byte unit;
|
||||||
extern int16_t SStatus;
|
extern int16_t SStatus;
|
||||||
extern int8_t NTPoffset;
|
extern int8_t NTPoffset;
|
||||||
|
|||||||
Reference in New Issue
Block a user