drivers/at86rf2xx: AES: don't use binary constant
This is a GCC extension. Use hex constant instead.
This commit is contained in:
parent
d2e0af2941
commit
2aa2bf86a3
@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
#define AES_DEBUG(...) DEBUG("[at86rf2xx_aes_spi]: "__VA_ARGS__)
|
#define AES_DEBUG(...) DEBUG("[at86rf2xx_aes_spi]: "__VA_ARGS__)
|
||||||
|
|
||||||
#define AT86RF2XX_CMD_SRAM_READ (0b00000000)
|
#define AT86RF2XX_CMD_SRAM_READ (0x00)
|
||||||
#define AT86RF2XX_CMD_SRAM_WRITE (0b01000000)
|
#define AT86RF2XX_CMD_SRAM_WRITE (0x40)
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
void at86rf2xx_spi_get_bus(const at86rf2xx_t *dev)
|
void at86rf2xx_spi_get_bus(const at86rf2xx_t *dev)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user