From 6707fd5bb96fbc7eba0199d6022f0b5b678e3249 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Tue, 21 Sep 2021 23:28:42 +0900 Subject: [PATCH] tools/gen_reg_class.py: Fix multibit field defs Signed-off-by: Hector Martin --- tools/gen_reg_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen_reg_class.py b/tools/gen_reg_class.py index bdfd757e..980708b6 100644 --- a/tools/gen_reg_class.py +++ b/tools/gen_reg_class.py @@ -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()