style
This commit is contained in:
parent
8790c9f3d5
commit
ae8f4ac514
@ -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;
|
||||||
@ -105,7 +106,7 @@ void sendData() {
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (HAS_GPS) && (GPSPORT!=1)
|
#if (HAS_GPS) && (GPSPORT != 1)
|
||||||
case GPS_DATA:
|
case GPS_DATA:
|
||||||
// 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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user