summaryrefslogtreecommitdiff
path: root/usb-i2c-sl018
diff options
context:
space:
mode:
Diffstat (limited to 'usb-i2c-sl018')
-rw-r--r--usb-i2c-sl018/tuer-rfid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-i2c-sl018/tuer-rfid.c b/usb-i2c-sl018/tuer-rfid.c
index 698f2b7..76fb877 100644
--- a/usb-i2c-sl018/tuer-rfid.c
+++ b/usb-i2c-sl018/tuer-rfid.c
@@ -126,7 +126,7 @@ typedef struct __attribute__((__packed__))
sl018_message_t* twi_recv_msg = (sl018_message_t *)&twi_recv_buf;
#define SL018_TWI_ADDR 0xA0
-#define SL018_TAG_STA_PIN PINB
+#define SL018_TAG_STA_PIN PIND
#define SL018_TAG_STA_BIT 7
#define CARD_PRESENT (!((SL018_TAG_STA_PIN >> SL018_TAG_STA_BIT) & 1))
uint8_t card_status = 0;