Avoid nRF52 hard reset after EEPROM wipe

This commit is contained in:
Mark Qvist 2024-05-18 00:18:54 +02:00
parent e28dd6e14a
commit 0b66649158

View File

@ -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...")