[riot-notifications] [RIOT] cc110x* NOBYTE inconsitencies (#129)
notifications at github.com
Tue Aug 13 17:43:59 CEST 2013
There is an inconsistency with regard to the use and definition of NOBYTE throughout the cc1100 implementations:
In `drivers/cc110x/cc1100_spi.c` and `drivers/cc110x_ng/spi/cc110x_spi.c`:
`#define NOBYTE 0xFF
buffer[i] = cc110x_txrx(NOBYTE);`
In `drivers/cc110x/cc1100-internal.h` and `drivers/cc110x_ng/include/cc110x-internal.h`:
`#define CC1100_NOBYTE (0x00) ///< No command (for reading).`
Removal of the `NOBYTE` definition and correction and use of `CC1100_NOBYTE` seems in order.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications