mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-04 00:41:28 +02:00
NTP time added
This commit is contained in:
+3
-2
@@ -4,6 +4,7 @@
|
||||
#include "aprs_is_utils.h"
|
||||
#include "boards_pinout.h"
|
||||
#include "syslog_utils.h"
|
||||
#include "ntp_utils.h"
|
||||
#include "display.h"
|
||||
#include "utils.h"
|
||||
|
||||
@@ -175,9 +176,9 @@ namespace LoRa_Utils {
|
||||
Utils::println("<--- LoRa Packet Rx : " + packet.substring(3));
|
||||
Utils::println("(RSSI:" + String(rssi) + " / SNR:" + String(snr) + " / FreqErr:" + String(freqError) + ")");
|
||||
|
||||
if (!Config.lowPowerMode) {
|
||||
if (!Config.lowPowerMode && !Config.digi.ecoMode) {
|
||||
ReceivedPacket receivedPacket;
|
||||
receivedPacket.millis = millis();
|
||||
receivedPacket.rxTime = NTP_Utils::getFormatedTime();
|
||||
receivedPacket.packet = packet.substring(3);
|
||||
receivedPacket.RSSI = rssi;
|
||||
receivedPacket.SNR = snr;
|
||||
|
||||
Reference in New Issue
Block a user