From ad44e9f93c19e949dcf8bea98400cff447c5bd35 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Wed, 25 Dec 2019 23:21:58 +0100 Subject: [PATCH] code sanitization gps_status --- src/senddata.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/senddata.cpp b/src/senddata.cpp index 2dfcbbf3..0ec4ab67 100644 --- a/src/senddata.cpp +++ b/src/senddata.cpp @@ -58,7 +58,9 @@ void sendData() { uint8_t bitmask = cfg.payloadmask; uint8_t mask = 1; + #if (HAS_GPS) gpsStatus_t gps_status; + #endif while (bitmask) { switch (bitmask & mask) {