Fix wording
This commit is contained in:
parent
57c7058739
commit
6eab78746e
@ -1037,8 +1037,8 @@ def parse_rcc_regs():
|
|||||||
y = yaml.load(yaml_file)
|
y = yaml.load(yaml_file)
|
||||||
|
|
||||||
for (key, body) in y.items():
|
for (key, body) in y.items():
|
||||||
# Some chip families have a separate bus for GPIO so its note attached to the AHB/APB
|
# Some chip families have a separate bus for GPIO so it's not attached to the AHB/APB
|
||||||
# bus but an IOPORT bus. Use the IOP as the clock for these chips
|
# bus but an IOPORT bus. Use the IOP as the clock for these chips.
|
||||||
if m := re.match('^fieldset/((A[PH]B\d?)|IOP)[LH]?ENR\d?$', key):
|
if m := re.match('^fieldset/((A[PH]B\d?)|IOP)[LH]?ENR\d?$', key):
|
||||||
reg = removeprefix(key, 'fieldset/')
|
reg = removeprefix(key, 'fieldset/')
|
||||||
clock = m.group(1)
|
clock = m.group(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user