mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 07:20:18 +00:00
Compare commits
5 Commits
33635372d8
...
1ec04e346b
Author | SHA1 | Date | |
---|---|---|---|
|
1ec04e346b | ||
|
4fdb9dda40 | ||
|
c4705fd594 | ||
|
1cee0a2619 | ||
|
df92fb1bcf |
@ -3310,6 +3310,8 @@ def main():
|
||||
if len(args.model) == 2:
|
||||
model = ord(bytes.fromhex(args.model))
|
||||
|
||||
# Initialize selected_model from specified model
|
||||
selected_model = model
|
||||
|
||||
if args.hwrev != None and (args.hwrev > 0 and args.hwrev < 256):
|
||||
hwrev = chr(args.hwrev)
|
||||
@ -3440,6 +3442,11 @@ 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
|
||||
if RNS.vendor.platformutils.is_darwin():
|
||||
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