Added custom EEPROM bootstrap to rnodeconf

This commit is contained in:
Mark Qvist 2024-03-28 00:04:48 +01:00
parent e5427d70ac
commit 589fcb8201
1 changed files with 2 additions and 2 deletions

View File

@ -3047,7 +3047,7 @@ def main():
mapped_product = ROM.PRODUCT_TBEAM
else:
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 == ROM.MODEL_B4_TCXO:
@ -3073,7 +3073,7 @@ def main():
model = ROM.MODEL_FF
else:
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):