Merge pull request #512 from attermann/master
Fix for broken `--rom` manual device provisioning
This commit is contained in:
commit
2ef87a5e70
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue