From 33437b5246b274b7dbc4ef43e5ab40556226d06a Mon Sep 17 00:00:00 2001 From: geeksville Date: Wed, 18 Mar 2020 09:37:38 -0700 Subject: [PATCH] oops - I accidentally shadowed a variable I didn't want to shadow ;-) --- src/GPS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }