mirror of
https://github.com/meshtastic/python.git
synced 2026-06-03 05:05:46 -04:00
Update the other factory reset to use integer too
This commit is contained in:
@@ -728,7 +728,7 @@ class Node:
|
||||
self.ensureSessionKey()
|
||||
p = admin_pb2.AdminMessage()
|
||||
if full:
|
||||
p.factory_reset_device = True
|
||||
p.factory_reset_device = 1
|
||||
logger.info(f"Telling node to factory reset (full device reset)")
|
||||
else:
|
||||
p.factory_reset_config = 1
|
||||
|
||||
Reference in New Issue
Block a user