mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 21:50:18 +00: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!")
|
||||
rnode.wipe_eeprom()
|
||||
|
||||
# TODO: Add conditional for avoiding this reset on nRF
|
||||
if rnode.platform != ROM.PLATFORM_NRF52:
|
||||
rnode.hard_reset()
|
||||
|
||||
graceful_exit()
|
||||
|
||||
RNS.log("Reading EEPROM...")
|
||||
|
Loading…
Reference in New Issue
Block a user