Files
firmware/CONTRIBUTING.md
2016-02-10 19:03:12 +01:00

340 B

Coding standards

  • 4 spaces are used for tabulation.
  • Unix line endings are used.
  • Curlies are always explicitly written.

If

if (something) {
    ...
} else {
    ...
}

for

for (uint8_t i; i<j; i++) {
    ...
}

while

while (condition) {
    ...
}

function

void do_this()
{
    ...
}