From 589fcb82014811acca6a67f1848b4eb15b62bca5 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 28 Mar 2024 00:04:48 +0100 Subject: [PATCH] Added custom EEPROM bootstrap to rnodeconf --- RNS/Utilities/rnodeconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index f927a70..e741a51 100755 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -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):