diff options
Diffstat (limited to 'tuer-rfid/sl018.c')
-rw-r--r-- | tuer-rfid/sl018.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tuer-rfid/sl018.c b/tuer-rfid/sl018.c index a94e704..99382a9 100644 --- a/tuer-rfid/sl018.c +++ b/tuer-rfid/sl018.c @@ -27,8 +27,8 @@ #include <util/delay.h> #define SL018_TWI_ADDR 0xA0 -#define SL018_TAG_STA_PIN PIND -#define SL018_TAG_STA_BIT 7 +#define SL018_TAG_STA_PIN PINE +#define SL018_TAG_STA_BIT 6 #define CARD_PRESENT (!((SL018_TAG_STA_PIN >> SL018_TAG_STA_BIT) & 1)) #define MAX_UID_LEN 7 |