Browse Source

Fixes for new gcc

tags/lab06
Arti Zirk 2 years ago
parent
commit
3c69228743
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      lib/matejx_avr_lib/mfrc522.c

+ 0
- 2
lib/matejx_avr_lib/mfrc522.c View File

@@ -18,8 +18,6 @@
#define SPI_CS_LOW 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() {
// Set the chipSelectPin as digital output, do not select the slave yet
DDR(MFRC522_SS_PORT) |= _BV(MFRC522_SS_BIT);

Loading…
Cancel
Save