mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 14:37:05 +00:00
FIX for boards with GPS onboard
This commit is contained in:
parent
38f52564f1
commit
2c6665b557
2 changed files with 4 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue