Update factory reset to use integer for config reset

This commit is contained in:
Ben Meadors
2026-04-17 05:03:56 -05:00
parent cec79a7c1f
commit c5fc51ea37
2 changed files with 31 additions and 1 deletions

View File

@@ -731,7 +731,7 @@ class Node:
p.factory_reset_device = True
logger.info(f"Telling node to factory reset (full device reset)")
else:
p.factory_reset_config = True
p.factory_reset_config = 1
logger.info(f"Telling node to factory reset (config reset)")
# If sending to a remote node, wait for ACK/NAK