We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e00d1d7 commit ba91ee6Copy full SHA for ba91ee6
src/genpinmap/genpinmap_arduino.py
@@ -692,10 +692,10 @@ def print_syswkup_h():
692
num = p[2].replace("SYS_WKUP", "")
693
if len(num) == 0:
694
s1 = "#ifdef PWR_WAKEUP_PIN1\n"
695
- s1 += "SYS_WKUP1" # single SYS_WKUP for this product
+ s1 += " SYS_WKUP1" # single SYS_WKUP for this product
696
else:
697
s1 = "#ifdef PWR_WAKEUP_PIN%i\n" % (int(num) + inc)
698
- s1 += "SYS_WKUP" + str(int(num) + inc)
+ s1 += " SYS_WKUP" + str(int(num) + inc)
699
s1 += " = " + p[0] + ","
700
if (inc == 1) and (p[0] != "NC"):
701
s1 += " /* " + p[2] + " */"
0 commit comments