diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-08-17 13:19:38 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-08-17 13:19:38 +0000 |
commit | 27048709b5f05685fedddcaacbafa71b4d76bf1b (patch) | |
tree | 06627e39ddb751ebebb4bfa3bff3fa6c8d678ffb /tuer-rfid/sl018.c | |
parent | fixed the build (diff) |
moved tuer-rfid to teenstep (some port pins have changed)
git-svn-id: https://svn.spreadspace.org/avr/trunk@220 aa12f405-d877-488e-9caf-2d797e2a1cc7
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 |