mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-11 16:03:58 +01:00
small update to avoid sending gps = 0
This commit is contained in:
parent
8beb7c0465
commit
5ceff0064f
|
|
@ -186,7 +186,7 @@ namespace Utils {
|
|||
}
|
||||
|
||||
#ifdef HAS_GPS
|
||||
if (Config.beacon.gpsActive && gps.location.lat() == 0.0 && gps.location.lng() == 0.0) {
|
||||
if (Config.beacon.gpsActive && gps.location.lat() == 0.0 && gps.location.lng() == 0.0 && Config.beacon.latitude == 0.0 && Config.beacon.longitude == 0.0) {
|
||||
GPS_Utils::getData();
|
||||
beaconUpdate = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue