support new --set factory_reset true preferences option

This commit is contained in:
geeksville
2020-09-19 11:19:03 -07:00
parent dd45429576
commit e4a424ccee
4 changed files with 41 additions and 26 deletions

View File

@@ -278,7 +278,7 @@ class MeshInterface:
self._disconnected()
self._startConfig() # redownload the node db etc...
else:
logging.warn("Unexpected FromRadio payload")
logging.debug("Unexpected FromRadio payload")
def _fixupPosition(self, position):
"""Convert integer lat/lon into floats

View File

@@ -139,7 +139,8 @@ def onConnected(interface):
except Exception as ex:
print(ex)
if closeNow:
# if the user didn't ask for serial debugging output, we might want to exit after we've done our operation
if (not args.seriallog) and closeNow:
interface.close() # after running command then exit

View File

File diff suppressed because one or more lines are too long

2
proto

Submodule proto updated: 9a18f98948...4e431c8410