scripts: gen_defines: tweak out_define() whitespace
Pad node identifiers to 60 characters. This results in better alignment in practice than the current value of 40, which is a bit low. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
47073fd11c
commit
3b7ddc83d1
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ def out_define(ident, val, deprecation_msg, out_file):
|
|||
# out() helper for writing a #define. See out() for the meaning of
|
||||
# 'deprecation_msg'.
|
||||
|
||||
s = f"#define DT_{ident:40}"
|
||||
s = f"#define DT_{ident:60}"
|
||||
if deprecation_msg:
|
||||
s += fr' __WARN("{deprecation_msg}")'
|
||||
s += f" {val}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue