File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ def print_qspi():
619619
620620
621621def 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 ] + " */"
You can’t perform that action at this time.
0 commit comments