diff --git a/src/gps/NMEAWPL.cpp b/src/gps/NMEAWPL.cpp index 902ba4c95..cf158d993 100644 --- a/src/gps/NMEAWPL.cpp +++ b/src/gps/NMEAWPL.cpp @@ -1,7 +1,7 @@ #include "NMEAWPL.h" #include "GeoCoord.h" -#include #include "RTC.h" +#include /* ------------------------------------------- * 1 2 3 4 5 6 @@ -61,7 +61,6 @@ uint32_t printGGA(char *buf, size_t bufsz, const meshtastic_Position &pos) tm *t = localtime((time_t *)&pos.timestamp); if (getRTCQuality() > 0) // use the device clock if we got time from somewhere. If not, use the GPS timestamp. t = localtime((time_t *)getValidTime(RTCQuality::RTCQualityDevice)); - uint32_t len = snprintf( buf, bufsz, "$GNGGA,%02d%02d%02d.%02d,%02d%07.4f,%c,%03d%07.4f,%c,%u,%02u,%04u,%04d,%c,%04d,%c,%d,%04d", t->tm_hour,