Fix incorrectly placed newline in CSV export (#11535)

* Fix incorrectly placed newline in CSV export

* Appease our AI overlords

* No comma for you!
This commit is contained in:
Jim C K Flaten authored and GitHub committed 2026-08-26 21:09:03 +00:00
1 parent 514b476189
commit d2eb6b0a2c
1 file changed
+3 -2
+3 -2
View File
@@ -310,9 +310,10 @@ bool RangeTestModuleRadio::appendFile(const meshtastic_MeshPacket &mp)
fileToAppend.printf("%d,", mp.hop_limit); // Packet Hop Limit
// TODO: If quotes are found in the payload, it has to be escaped.
fileToAppend.printf("\"%.*s\"\n", (int)p.payload.size, p.payload.bytes);
fileToAppend.printf("%i,", mp.rx_rssi); // RX RSSI
fileToAppend.printf("\"%.*s\",", (int)p.payload.size, p.payload.bytes);
fileToAppend.printf("%i", mp.rx_rssi); // RX RSSI
fileToAppend.printf("\n");
fileToAppend.flush();
fileToAppend.close();