Battery blinks if >BATTERY_LEVEL_DANGEROUS
[kugel-rb.git] / firmware / CONTRIBUTING
blob73f124eb7b5e374a0952152b65b3adbac41fab42
1 $Id$
3 In order for the project to run as smoothly as possible, it's best if all
4 contributors adhere to a few simple conventions:
6 - Write all code in C. Sometimes assembly is faster, but C is always more
7   readable and maintainable.
9 - Write normal C code. Don't redefine the language. No new types,
10   no C++isms or Javaisms. Also, do not use "const".
12 - Variables and function names should be all lower case.
13   Preprocessor symbols should be all uppercase.
15 - Use the brace placement style of your choice, but indent your code with
16   four spaces. Don't use TAB characters, as that will mess up code display in
17   CVS, printing, and a zillion other places.
19 - Use "unix style" line feeds: "LF" only. Do not use "CR+LF".