mirror of
https://github.com/meshtastic/python.git
synced 2025-12-30 19:37:52 -05:00
support new --set factory_reset true preferences option
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
proto
2
proto
Submodule proto updated: 9a18f98948...4e431c8410
Reference in New Issue
Block a user