minor code update

This commit is contained in:
richonguzman 2024-03-21 00:09:35 -03:00
parent fb4b6a25bd
commit 85b7596cbb
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{
"editor.tabSize": 4,
"editor.formatOnSave": true
}
"editor.formatOnSave": false
}

View file

@ -12,7 +12,7 @@ WiFiUDP udpClient;
namespace SYSLOG_Utils {
void log(String type, String packet, int rssi, float snr, int freqError) {
String syslogPacket = "<165>1 - " + Config.callsign + " CA2RXU_LoRa_iGate_1.2" + " - - - "; //RFC5424 The Syslog Protocol
String syslogPacket = "<165>1 - " + Config.callsign + " CA2RXU_LoRa_iGate_1.3" + " - - - "; //RFC5424 The Syslog Protocol
if (Config.syslog.active && WiFi.status() == WL_CONNECTED) {
if (type == "APRSIS Tx") {
if (packet.indexOf(":>") > 10) {