More UBX fixes

This commit is contained in:
Thomas Göttgens
2022-05-18 18:16:23 +02:00
parent dd8111e737
commit 5e82423331
4 changed files with 30 additions and 1 deletions

View File

@@ -310,6 +310,7 @@ void setup()
// ONCE we will factory reset the GPS for bug #327
if (gps && !devicestate.did_gps_reset) {
DEBUG_MSG("GPS FactoryReset requested\n");
if (gps->factoryReset()) { // If we don't succeed try again next time
devicestate.did_gps_reset = true;
nodeDB.saveToDisk();