🧑💻 Update Uncrustify config
This commit is contained in:
parent
3840663410
commit
858954baad
|
|
@ -4,9 +4,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
TMPDIR=`mktemp -d`
|
TMPDIR=`mktemp -d`
|
||||||
|
HERE=`dirname "$0"`
|
||||||
|
|
||||||
# Reformat a single file to tmp/
|
# Reformat a single file to tmp/
|
||||||
if uncrustify -l CPP -c ./buildroot/share/extras/uncrustify.cfg -f "$1" >$TMPDIR/uncrustify.out ; then
|
if uncrustify -l CPP -c "$HERE/../share/extras/uncrustify.cfg" -f "$1" >$TMPDIR/uncrustify.out ; then
|
||||||
cp "$TMPDIR/uncrustify.out" "$1" ; # Replace the original file
|
cp "$TMPDIR/uncrustify.out" "$1" ; # Replace the original file
|
||||||
else
|
else
|
||||||
echo "Something went wrong with uncrustify."
|
echo "Something went wrong with uncrustify."
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* Marlin 3D Printer Firmware
|
||||||
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
* Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
*
|
*
|
||||||
* Based on Sprinter and grbl.
|
* Based on Sprinter and grbl.
|
||||||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
5
buildroot/share/extras/func_header.h
Normal file
5
buildroot/share/extras/func_header.h
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
/**
|
||||||
|
* $(function) : Description pending
|
||||||
|
*
|
||||||
|
* $(javaparam)
|
||||||
|
*/
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue