code sanitization gps_status

This commit is contained in:
Verkehrsrot 2019-12-25 23:21:58 +01:00
parent 04aa7e1d60
commit ad44e9f93c

View File

@ -58,7 +58,9 @@ void sendData() {
uint8_t bitmask = cfg.payloadmask; uint8_t bitmask = cfg.payloadmask;
uint8_t mask = 1; uint8_t mask = 1;
#if (HAS_GPS)
gpsStatus_t gps_status; gpsStatus_t gps_status;
#endif
while (bitmask) { while (bitmask) {
switch (bitmask & mask) { switch (bitmask & mask) {