mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-22 11:50:18 +00:00
fix for macOS failing to set firmware hash on NRF52 when resetting too quickly
This commit is contained in:
parent
3a163c6f09
commit
df92fb1bcf
@ -3440,6 +3440,10 @@ def main():
|
||||
time.sleep(6.5)
|
||||
|
||||
elif rnode.platform == ROM.PLATFORM_NRF52:
|
||||
# Wait a few seconds before hard resetting.
|
||||
# Otherwise, macOS fails to set firmware hash on NRF52
|
||||
time.sleep(5)
|
||||
|
||||
rnode.hard_reset()
|
||||
# The hard reset on this platform is different
|
||||
# to that of the ESP32 platform, it causes
|
||||
|
Loading…
Reference in New Issue
Block a user