mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-10-01 03:15:44 -04:00
Avoid nRF52 hard reset after EEPROM wipe
This commit is contained in:
parent
e28dd6e14a
commit
0b66649158
@ -2873,8 +2873,9 @@ def main():
|
|||||||
RNS.log("WARNING: EEPROM is being wiped! Power down device NOW if you do not want this!")
|
RNS.log("WARNING: EEPROM is being wiped! Power down device NOW if you do not want this!")
|
||||||
rnode.wipe_eeprom()
|
rnode.wipe_eeprom()
|
||||||
|
|
||||||
# TODO: Add conditional for avoiding this reset on nRF
|
if rnode.platform != ROM.PLATFORM_NRF52:
|
||||||
rnode.hard_reset()
|
rnode.hard_reset()
|
||||||
|
|
||||||
graceful_exit()
|
graceful_exit()
|
||||||
|
|
||||||
RNS.log("Reading EEPROM...")
|
RNS.log("Reading EEPROM...")
|
||||||
|
Loading…
Reference in New Issue
Block a user