Fixes for new gcc
This commit is contained in:
parent
c7fa127581
commit
3c69228743
@ -18,8 +18,6 @@
|
|||||||
#define SPI_CS_LOW MFRC522_SS_PORT &= ~_BV(MFRC522_SS_BIT)
|
#define SPI_CS_LOW MFRC522_SS_PORT &= ~_BV(MFRC522_SS_BIT)
|
||||||
#define SPI_CS_HIGH MFRC522_SS_PORT |= _BV(MFRC522_SS_BIT)
|
#define SPI_CS_HIGH MFRC522_SS_PORT |= _BV(MFRC522_SS_BIT)
|
||||||
|
|
||||||
static const byte FIFO_SIZE = 64; // The FIFO is 64 bytes.
|
|
||||||
|
|
||||||
void MFRC522_init() {
|
void MFRC522_init() {
|
||||||
// Set the chipSelectPin as digital output, do not select the slave yet
|
// Set the chipSelectPin as digital output, do not select the slave yet
|
||||||
DDR(MFRC522_SS_PORT) |= _BV(MFRC522_SS_BIT);
|
DDR(MFRC522_SS_PORT) |= _BV(MFRC522_SS_BIT);
|
||||||
|
Loading…
Reference in New Issue
Block a user