mirror of
https://github.com/miguelbalboa/rfid.git
synced 2024-06-08 01:03:01 +03:00
454 B
454 B
Code style
-
Please use
fixed integers
, seestdint.h
_. Why? This library is compatible to different boards which use different architectures (8bit vs 32bit). So unfixedint
has different sizes on different environments and may cause unpredictable behaviour. -
If possible: use advantages of
c++11
, e.g.constexpr
. -
Add documentation to every new function or parameter. Add documentation to most steps in your source code.