From 9d151b251a6d0f8e17e04a46bbed2e796978ba4a Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Tue, 26 Nov 2019 20:52:16 +0800 Subject: [PATCH] Fixed variable name. --- register_printer/print_c_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register_printer/print_c_header.py b/register_printer/print_c_header.py index b78f9c2..e748d57 100644 --- a/register_printer/print_c_header.py +++ b/register_printer/print_c_header.py @@ -37,7 +37,7 @@ def print_c_header_block(block, out_path): "type": "volatile const int", "name": "RSVD%d[%d]" % (rsvd_idx, nrsvd) } - sruct_fields.append(struct_field) + struct_fields.append(struct_field) rsvd_idx = rsvd_idx + 1 struct_field = { "type": "volatile int",