mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-30 20:34:16 +01:00
syslog fix
This commit is contained in:
parent
b74c48dec5
commit
ea4bd1f9f5
|
|
@ -155,7 +155,7 @@ namespace LoRa_Utils {
|
|||
#ifndef PinPointApp
|
||||
Serial.println("(RSSI:" +String(rssi) + " / SNR:" + String(snr) + " / FreqErr:" + String(freqError) + ")");
|
||||
#endif
|
||||
if (Config.syslog.active && (stationMode==1 || stationMode==2 || (stationMode==5 && WiFi.status()==WL_CONNECTED))) {
|
||||
if (Config.syslog.active && (stationMode==1 || stationMode==2 || (stationMode==5 && WiFi.status()==WL_CONNECTED)) && loraPacket!="") {
|
||||
SYSLOG_Utils::log("LoRa Rx", loraPacket, rssi, snr, freqError);
|
||||
}
|
||||
return loraPacket;
|
||||
|
|
|
|||
Loading…
Reference in a new issue