From 7a7b14ed4b05021d121464a2895de7dcb4db5568 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Fri, 9 Jul 2021 09:32:55 -0400 Subject: [PATCH] Adjust parse to remove L or H from clock name. --- parse.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.py b/parse.py index 8bad457..caf7229 100755 --- a/parse.py +++ b/parse.py @@ -976,6 +976,8 @@ def parse_rcc_regs(): if key.startswith("fieldset/A") and key.endswith("ENR"): clock = removesuffix(key, "ENR") clock = removeprefix(clock, "fieldset/") + clock = removesuffix(clock, "L") + clock = removesuffix(clock, "H") for field in body['fields']: if field['name'].endswith('EN'): peri = removesuffix(field['name'], 'EN')