diff --git a/src/GPS.cpp b/src/GPS.cpp index 6c6293d2a..52feaf651 100644 --- a/src/GPS.cpp +++ b/src/GPS.cpp @@ -146,7 +146,7 @@ void GPS::doTask() ublox.checkUblox(); // See if new data is available. Process bytes as they come in. // If we don't have a fix (a quick check), don't try waiting for a solution) - uint8_t fixtype = ublox.getFixType(); + fixtype = ublox.getFixType(); DEBUG_MSG("fix type %d\n", fixtype); }