kopia lustrzana https://github.com/sh123/esp32_loraprs
Include frequency error into the comment only when it is not 0
rodzic
67374de65b
commit
41d6f86567
|
@ -651,10 +651,12 @@ void Service::processIncomingRawPacketAsServer(const byte *packet, int packetLen
|
|||
String("dBm, ") +
|
||||
String("snr: ") +
|
||||
String(snr) +
|
||||
String("dB, ") +
|
||||
String("err: ") +
|
||||
String("dB");
|
||||
if (frequencyError != 0) {
|
||||
signalReport += String(", err: ") +
|
||||
String(frequencyError) +
|
||||
String("Hz");
|
||||
}
|
||||
|
||||
String textPayload = payload.ToString(config_.EnableSignalReport ? signalReport : String());
|
||||
LOG_INFO(textPayload);
|
||||
|
|
Ładowanie…
Reference in New Issue