Skip to content

Commit

Permalink
change type to uppercase in c_header_sys template.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiant committed Nov 30, 2019
1 parent 9d151b2 commit c67935d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion register_printer/templates/c_header_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define {{ "%s_BASE\t\t0x%x" | format(block_instance.name, block_instance.base_address) }}
#define {{ "%s\t\t((%s_TypeDef *)\t\t%s_BASE)" | format(
block_instance.name,
block_instance.type,
block_instance.type.upper(),
block_instance.name)
}}

Expand Down

0 comments on commit c67935d

Please sign in to comment.