Skip to content

Instantly share code, notes, and snippets.

@franzflasch
Last active September 20, 2022 16:02
Show Gist options
  • Save franzflasch/525c91e4240467d0247262aa418f18a8 to your computer and use it in GitHub Desktop.
Save franzflasch/525c91e4240467d0247262aa418f18a8 to your computer and use it in GitHub Desktop.
coding style

Formats the source file to the gnu coding style, with no curly braces intendation and line length of 100

indent <source-file> -o <output-file> -gnu -bli0 -l100

clang-format with Microsoft style is nice

clang-format -style=Microsoft -i read_serial_raw.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment