mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 14:28:24 -04:00
support new --set factory_reset true preferences option
This commit is contained in:
1 parent
dd45429576
commit
e4a424ccee
4 files changed
+41
-26
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
+37
-23
File diff suppressed because one or more lines are too long.
+1
-1
Submodule proto updated: 9a18f98948...4e431c8410.
Reference in new issue
Block a user