Skip to content

Commit 6d516f8

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

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/genpinmap/genpinmap_arduino.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,10 @@ def print_usb(lst):
696696

697697
def print_usb_h():
698698
if usb_list or usb_otgfs_list or usb_otghs_list:
699-
out_h_file.write(" /* USB */\n")
699+
out_h_file.write("/* USB */\n")
700700
out_h_file.write("#ifdef USBCON\n")
701701
for p in usb_list + usb_otgfs_list + usb_otghs_list:
702-
out_h_file.write(" " + p[2] + " = " + p[0] + ",\n")
702+
out_h_file.write(p[2] + " = " + p[0] + ",\n")
703703
out_h_file.write("#endif\n")
704704

705705

@@ -942,6 +942,9 @@ def parse_pins():
942942

943943
nb_pin = len(io_list)
944944
print(" * I/O pins found: %i" % nb_pin)
945+
# io_list.sort(key=natural_sortkey)
946+
# for io in io_list:
947+
# print(io[1])
945948
print("done\n")
946949
clean_all_lists()
947950

0 commit comments

Comments
 (0)