Zanduino / INA

Combined Arduino library for reading multiple INA2xx power monitor devices
GNU General Public License v3.0
158 stars 41 forks source link

Implement "clang-format" to format c++ using a standard style #58

Closed SV-Zanshin closed 4 years ago

SV-Zanshin commented 4 years ago

Describe what the feature request is and if it solves an issue or adds functionality Currently the formatting of the library and example programs is non-standard. Using a standardized tool such as "clang-format" allows for a more legible source code and makes applying pull requests from multiple contributors much easier

Describe the solution you'd like Add "clang-format" to the GitHub actions to automatically format on commit

Describe alternatives you've considered none

Additional context While I like working on a wide screen with the current 120-column width, it is non-standard.

SV-Zanshin commented 4 years ago

Finished for v1.0.11