507 B
507 B
Code style
-
Please use
fixed integers, seestdint.h_. Why? This library is compatible to different boards which use different architectures (16bit vs 32bit). So unfixedinthas different sizes on different environments and may cause unpredictable behaviour. -
If possible: use advantages of
c++11, e.g.constexpr. -
Use tab in source files. Space in examples.
-
Add documentation to every new function or parameter. Add documentation to most steps in your source code.