summaryrefslogtreecommitdiff
path: root/openpicc/application/main.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-05 01:59:58 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-05 01:59:58 +0000
commit3ee3c4a649545d1f132bca61cc7484f0d5c92638 (patch)
tree9dfc8a38819b7b4965ca4ba74e333eb72f365b53 /openpicc/application/main.c
parentbac6c469cc2116b6a2917f75c979722e616ef904 (diff)
Copy over the relevant changes from the sniffonly branch pending integration
git-svn-id: https://svn.openpcd.org:2342/trunk@442 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r--openpicc/application/main.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index 2397c61..9b81aea 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -51,6 +51,7 @@
#include "iso14443_sniffer.h"
#include "iso14443a_pretender.h"
#include "decoder.h"
+#include "tc_sniffer.h"
static inline int detect_board(void)
{
@@ -210,9 +211,12 @@ int main (void)
NULL, TASK_ISO_PRIORITY, NULL);*/
/*xTaskCreate (iso14443_sniffer, (signed portCHAR *) "ISO14443-SNIFF", TASK_ISO_STACK,
NULL, TASK_ISO_PRIORITY, NULL);*/
- xTaskCreate (iso14443a_pretender, (signed portCHAR *) "ISO14443A-PRETEND", TASK_ISO_STACK,
- NULL, TASK_ISO_PRIORITY, NULL);
-
+ /*xTaskCreate (iso14443a_pretender, (signed portCHAR *) "ISO14443A-PRETEND", TASK_ISO_STACK,
+ NULL, TASK_ISO_PRIORITY, NULL);*/
+ xTaskCreate (tc_sniffer, (signed portCHAR *) "RFID-SNIFFER", TASK_ISO_STACK,
+ NULL, TASK_ISO_PRIORITY, NULL);
+
+
xTaskCreate (vUSBCDCTask, (signed portCHAR *) "USB", TASK_USB_STACK,
NULL, TASK_USB_PRIORITY, NULL);
personal git repositories of Harald Welte. Your mileage may vary