SmartRC-CC1101-Driver-Lib
SmartRC-CC1101-Driver-Lib copied to clipboard
Alex/clean up
Suggested clean up
- I know some repos manage indentation automatically, but this repo had mixed indentation. Though mostly readable, correct indentation does improve the readability.
- There are many instances of magic number usage.
a. Some register reads and writes were using hard coded register numbers rather than the constants defined in the .h
b. trxstate used values 0, 1, 2. Replaced by named constants for the states
idle
,tx
andrx
.