Compare commits

..

2 Commits

Author SHA1 Message Date
Liam Cottle
439ebba129
Merge c4705fd594 into 30228d12f7 2024-05-31 13:12:46 +12:00
liamcottle
c4705fd594 check platform is macos before delaying nrf52 reset 2024-05-31 13:12:39 +12:00

View File

@ -3442,6 +3442,7 @@ def main():
elif rnode.platform == ROM.PLATFORM_NRF52: elif rnode.platform == ROM.PLATFORM_NRF52:
# Wait a few seconds before hard resetting. # Wait a few seconds before hard resetting.
# Otherwise, macOS fails to set firmware hash on NRF52 # Otherwise, macOS fails to set firmware hash on NRF52
if RNS.vendor.platformutils.is_darwin():
time.sleep(5) time.sleep(5)
rnode.hard_reset() rnode.hard_reset()