tools/gen_reg_class.py: Fix multibit field defs

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-09-21 23:28:42 +09:00
parent 36e0283a87
commit 6707fd5bb9

View file

@ -28,6 +28,6 @@ for reg in data:
if msb == lsb:
print(f" {fname} = {lsb}")
else:
print(f" {fname} {msb}, {lsb}")
print(f" {fname} = {msb}, {lsb}")
print()