summaryrefslogtreecommitdiff
path: root/src/rfid_proto_tcl.c
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-11-08 16:25:57 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-11-08 16:25:57 +0000
commit1016f644a1609ff13ef02a96c79ccf3cbe4e214d (patch)
tree152eb267d33ff5d84415a511c905894bd20040c6 /src/rfid_proto_tcl.c
parent7408d67d2eec55f3142ab3af90841110f105d8eb (diff)
- disable debug statements
- cleanly initialize pps[2] git-svn-id: https://svn.gnumonks.org/trunk/librfid@1672 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'src/rfid_proto_tcl.c')
-rw-r--r--src/rfid_proto_tcl.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/rfid_proto_tcl.c b/src/rfid_proto_tcl.c
index 13fba08..901e42c 100644
--- a/src/rfid_proto_tcl.c
+++ b/src/rfid_proto_tcl.c
@@ -36,17 +36,6 @@
#include "rfid_iso14443_common.h"
-#if 0
-#ifdef DEBUGP
-#undef DEBUGP
-#define DEBUGP(x, ...)
-#endif
-#ifdef DEBUGPC
-#undef DEBUGPC
-#define DEBUGPC(x, ...)
-#endif
-#endif
-
static enum rfid_frametype l2_to_frame(unsigned int layer2)
{
switch (layer2) {
@@ -281,6 +270,7 @@ tcl_do_pps(struct rfid_protocol_handle *h)
ppss[0] = 0xd0 | (h->priv.tcl.cid & 0x0f);
ppss[1] = 0x11;
+ ppss[2] = 0x00;
/* FIXME: deal with different speed for each direction */
DrI = d_to_di(h, Dr);
personal git repositories of Harald Welte. Your mileage may vary