Skip to content

Commit

Permalink
Use same-line-curlies for functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mondalaci authored May 18, 2024
1 parent bbb3971 commit 5e2b7ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ void LedDriver_SetAllLedsTo(uint8_t val);
Function scoped variables and function parameters are written with lowerCamelCase.

```
void MyFunction(uint8_t myArg1, uint8_t myArg2)
{
void MyFunction(uint8_t myArg1, uint8_t myArg2) {
uint8_t myVariable;
....
}
Expand Down

0 comments on commit 5e2b7ff

Please sign in to comment.