File tree 4 files changed +3649
-84
lines changed
4 files changed +3649
-84
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
6
6
TMPDIR=` mktemp -d`
7
+ HERE=` dirname " $0 " `
7
8
8
9
# Reformat a single file to tmp/
9
- if uncrustify -l CPP -c ./buildroot/ share/extras/uncrustify.cfg -f " $1 " > $TMPDIR /uncrustify.out ; then
10
+ if uncrustify -l CPP -c " $HERE /../ share/extras/uncrustify.cfg" -f " $1 " > $TMPDIR /uncrustify.out ; then
10
11
cp " $TMPDIR /uncrustify.out" " $1 " ; # Replace the original file
11
12
else
12
13
echo " Something went wrong with uncrustify."
Original file line number Diff line number Diff line change 1
1
/**
2
2
* Marlin 3D Printer Firmware
3
- * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
3
+ * Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
4
*
5
5
* Based on Sprinter and grbl.
6
6
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
Original file line number Diff line number Diff line change
1
+ /**
2
+ * $(function) : Description pending
3
+ *
4
+ * $(javaparam)
5
+ */
You canβt perform that action at this time.
0 commit comments