Fix for broken `--rom` manual device provisioning

Initializes `selected_model` with the value of model specified on the
command line.
This commit is contained in:
Chad Attermann 2024-05-29 09:04:14 -06:00
parent 3a163c6f09
commit 1cee0a2619
1 changed files with 2 additions and 0 deletions

View File

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