Skip to content

Commit 1308c7b

Browse files
committed
[genpinmap] Fix PinNamesVar.h format
To avoid astyle check issue Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 0c0ccfa commit 1308c7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/genpinmap/genpinmap_arduino.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def print_qspi():
619619

620620

621621
def print_syswkup_h():
622-
out_h_file.write(" /* SYS_WKUP */\n")
622+
out_h_file.write("/* SYS_WKUP */\n")
623623
# H7xx and F446 start from 0, inc by 1
624624
num = syswkup_list[0][2].replace("SYS_WKUP", "")
625625
inc = 0
@@ -642,10 +642,10 @@ def print_syswkup_h():
642642
num = p[2].replace("SYS_WKUP", "")
643643
if len(num) == 0:
644644
s1 = "#ifdef PWR_WAKEUP_PIN1\n"
645-
s1 += " SYS_WKUP1" # single SYS_WKUP for this product
645+
s1 += "SYS_WKUP1" # single SYS_WKUP for this product
646646
else:
647647
s1 = "#ifdef PWR_WAKEUP_PIN%i\n" % (int(num) + inc)
648-
s1 += " SYS_WKUP" + str(int(num) + inc)
648+
s1 += "SYS_WKUP" + str(int(num) + inc)
649649
s1 += " = " + p[0] + ","
650650
if (inc == 1) and (p[0] != "NC"):
651651
s1 += " /* " + p[2] + " */"

0 commit comments

Comments
 (0)