This commit is contained in:
nerdyscout 2019-11-19 22:41:49 +00:00
parent 8790c9f3d5
commit ae8f4ac514

View File

@ -70,6 +70,7 @@ void sendData() {
if (cfg.blescan) if (cfg.blescan)
payload.addCount(macs_ble, MAC_SNIFF_BLE); payload.addCount(macs_ble, MAC_SNIFF_BLE);
#endif #endif
#if (HAS_GPS) && (GPSPORT == 1)
// send GPS position only if we have a fix // send GPS position only if we have a fix
if (gps.location.isValid()) { if (gps.location.isValid()) {
gpsStatus_t gps_status; gpsStatus_t gps_status;