mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-05-03 20:02:14 +02:00
FIX for boards with GPS onboard
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user