Northeastern-Electric-Racing / Cerberus

Our FreeRTOS-based vehicle control application
1 stars 0 forks source link

Autoformatting #165

Closed nwdepatie closed 1 month ago

nwdepatie commented 1 month ago

Changes

Adding in an autoformatter into Cerberus

Notes

It's been in here for a while but just hasn't been touched. I copied the Linux Kernel's clang-format config with some slight modifications and added it to the Makefile so that it is invoked every time someone compiles the codebase.

I also touched up on some lines that the autoformatter completely messed up and made them more friendly for the formatter. Most of these were just lines that were super super long and the column limit enforcer was making look really weird.

Test Cases

Kinda branched off of an in progress branch so sorry pls forgive