FIX for boards with GPS onboard

This commit is contained in:
Ricardo Guzman (Richonguzman) 2025-12-11 13:44:06 -03:00
parent 38f52564f1
commit 2c6665b557
2 changed files with 4 additions and 5 deletions

View file

@ -67,8 +67,8 @@ ___________________________________________________________________*/
#endif
String versionDate = "2025-12-01";
String versionNumber = "3.1.5";
String versionDate = "2025-12-11";
String versionNumber = "3.1.5.1";
Configuration Config;
WiFiClient aprsIsClient;
WiFiClient mqttClient;

View file

@ -158,6 +158,8 @@ namespace Utils {
showActiveStations();
beaconPacket = iGateBeaconPacket;
secondaryBeaconPacket = iGateLoRaBeaconPacket;
#ifdef HAS_GPS
if (Config.beacon.gpsActive && Config.digi.ecoMode == 0) {
GPS_Utils::getData();
@ -176,9 +178,6 @@ namespace Utils {
secondaryBeaconPacket += encodedGPS;
}
}
#else
beaconPacket = iGateBeaconPacket;
secondaryBeaconPacket = iGateLoRaBeaconPacket;
#endif
if (Config.wxsensor.active) {