summaryrefslogtreecommitdiff
path: root/openpicc/application/main.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-15 20:56:57 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-15 20:56:57 +0000
commit7c198cbff3872795661b6ded45662dc0a9ba6db9 (patch)
treee68615430e837cf6173db35e9d8cc6c29706fe3f /openpicc/application/main.c
parentca286b29ede8dece0661514dae381e05efe1badc (diff)
Record size of SSC RX DMA buffers in transfers, much clearer
Change miller decoder to take an RX DMA buffer in order to have access to the reception_mode member, much more versatile git-svn-id: https://svn.openpcd.org:2342/trunk@393 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r--openpicc/application/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index 19407e6..38a08b5 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -85,6 +85,8 @@ void vApplicationIdleHook(void)
usb_print_flush();
}
+#if 0
+// Bitrotten
void main_help_print_buffer(ssc_dma_rx_buffer_t *buffer, int *pktcount)
{
ISO14443A_SHORT_TYPE *tmp = (ISO14443A_SHORT_TYPE*)buffer->data;
@@ -140,6 +142,7 @@ void vMainTestSSCRXConsumer (void *pvParameters)
}
}
}
+#endif
/* This task pings the watchdog even when the idle task is not running
* It should be started with a very high priority and will delay most of the time */
personal git repositories of Harald Welte. Your mileage may vary