From bcf268c231244764dc5b33bca73d9e9237e3140b Mon Sep 17 00:00:00 2001 From: jLynx Date: Fri, 19 May 2023 07:54:18 +1200 Subject: [PATCH] Updated Code formatting (markdown) --- Code-formatting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Code-formatting.md b/Code-formatting.md index 8be1fe1..a549e0c 100644 --- a/Code-formatting.md +++ b/Code-formatting.md @@ -15,6 +15,10 @@ sudo apt install clang-format-13 Then you can run ``` +find firmware/common firmware/baseband firmware/application -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' -o -iname '*.c' | xargs clang-format-13 -style=file -i +``` +or individually: +``` find firmware/common -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' -o -iname '*.c' | xargs clang-format-13 -style=file -i find firmware/baseband -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' -o -iname '*.c' | xargs clang-format-13 -style=file -i find firmware/application -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' -o -iname '*.c' | xargs clang-format-13 -style=file -i