syslog call and code update

This commit is contained in:
richonguzman 2024-05-30 15:12:34 -04:00
parent 12bcc76452
commit f6793c01c4
4 changed files with 64 additions and 28 deletions

View file

@ -118,7 +118,7 @@ namespace LoRa_Utils {
transmitFlag = true;
if (state == RADIOLIB_ERR_NONE) {
if (Config.syslog.active && WiFi.status() == WL_CONNECTED) {
SYSLOG_Utils::log(3, newPacket, 0, 0, 0); // TX
SYSLOG_Utils::log(3, newPacket, 0, 0.0, 0); // TX
}
Utils::print("---> LoRa Packet Tx : ");
Utils::println(newPacket);