mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Compare commits
No commits in common. "589fcb82014811acca6a67f1848b4eb15b62bca5" and "2f5381b3079073effa208e6ff8175c94c0aedd56" have entirely different histories.
589fcb8201
...
2f5381b307
@ -3041,13 +3041,10 @@ def main():
|
|||||||
if args.product != None:
|
if args.product != None:
|
||||||
if args.product == "03":
|
if args.product == "03":
|
||||||
mapped_product = ROM.PRODUCT_RNODE
|
mapped_product = ROM.PRODUCT_RNODE
|
||||||
elif args.product == "f0":
|
if args.product == "f0":
|
||||||
mapped_product = ROM.PRODUCT_HMBRW
|
mapped_product = ROM.PRODUCT_HMBRW
|
||||||
elif args.product == "e0":
|
if args.product == "e0":
|
||||||
mapped_product = ROM.PRODUCT_TBEAM
|
mapped_product = ROM.PRODUCT_TBEAM
|
||||||
else:
|
|
||||||
if len(args.product) == 2:
|
|
||||||
mapped_product = ord(bytes.fromhex(args.product))
|
|
||||||
|
|
||||||
if mapped_model != None:
|
if mapped_model != None:
|
||||||
if mapped_model == ROM.MODEL_B4_TCXO:
|
if mapped_model == ROM.MODEL_B4_TCXO:
|
||||||
@ -3071,9 +3068,6 @@ def main():
|
|||||||
model = ROM.MODEL_E9
|
model = ROM.MODEL_E9
|
||||||
elif args.model == "ff":
|
elif args.model == "ff":
|
||||||
model = ROM.MODEL_FF
|
model = ROM.MODEL_FF
|
||||||
else:
|
|
||||||
if len(args.model) == 2:
|
|
||||||
model = ord(bytes.fromhex(args.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):
|
||||||
|
Loading…
Reference in New Issue
Block a user