diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-04 23:52:46 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-04 23:52:46 +0000 |
commit | 78a0c8a542e84e6dbe6e346058869f5f3aa36c1f (patch) | |
tree | 44d38978118e0aad958a420a538ba9c58afe0e00 /openpicc/application/iso14443_layer2a.c | |
parent | 8ee27fd95f318b832630fa8e0b098e6ed176e6fe (diff) |
anticol working more often now
git-svn-id: https://svn.openpcd.org:2342/trunk@440 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443_layer2a.c')
-rw-r--r-- | openpicc/application/iso14443_layer2a.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openpicc/application/iso14443_layer2a.c b/openpicc/application/iso14443_layer2a.c index dc4a23e..65ca91e 100644 --- a/openpicc/application/iso14443_layer2a.c +++ b/openpicc/application/iso14443_layer2a.c @@ -48,6 +48,7 @@ #include "pio_irq.h" #include "usb_print.h" +#include "cmd.h" #define PRINT_DEBUG 0 @@ -208,6 +209,11 @@ static void iso14443_ssc_callback(ssc_callback_reason reason, void *data) tc_fdt_set(0xff00); tc_cdiv_set_divider(RX_DIVIDER); tc_cdiv_sync_reset(); +#if 1 + int old=usb_print_set_default_flush(0); + DumpStringToUSB("["); DumpUIntToUSB(reason); DumpStringToUSB("]"); + usb_print_set_default_flush(old); +#endif } } |