mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 21:50:18 +00:00
Added custom EEPROM bootstrap to rnodeconf
This commit is contained in:
parent
e5427d70ac
commit
589fcb8201
@ -3047,7 +3047,7 @@ def main():
|
|||||||
mapped_product = ROM.PRODUCT_TBEAM
|
mapped_product = ROM.PRODUCT_TBEAM
|
||||||
else:
|
else:
|
||||||
if len(args.product) == 2:
|
if len(args.product) == 2:
|
||||||
mapped_product = bytes.fromhex(args.product)
|
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:
|
||||||
@ -3073,7 +3073,7 @@ def main():
|
|||||||
model = ROM.MODEL_FF
|
model = ROM.MODEL_FF
|
||||||
else:
|
else:
|
||||||
if len(args.model) == 2:
|
if len(args.model) == 2:
|
||||||
model = bytes.fromhex(args.model)
|
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