This commit is contained in:
Chad Attermann 2024-06-02 18:27:29 +02:00 committed by GitHub
commit 2b8df8c7eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3310,6 +3310,8 @@ def main():
if len(args.model) == 2: if len(args.model) == 2:
model = ord(bytes.fromhex(args.model)) 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): if args.hwrev != None and (args.hwrev > 0 and args.hwrev < 256):
hwrev = chr(args.hwrev) hwrev = chr(args.hwrev)