summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer2a.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-05 05:52:53 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-05 05:52:53 +0000
commitb5be7c184f7d07b49a04098cd41d980f90f7e699 (patch)
tree19c6ce79b44768d7336e533faf3b089389d13912 /openpicc/application/iso14443_layer2a.c
parent6304718e371e590b09e176c05df21fc5fb631cec (diff)
convert pio irq isr to a switching isr
git-svn-id: https://svn.openpcd.org:2342/trunk@444 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443_layer2a.c')
-rw-r--r--openpicc/application/iso14443_layer2a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openpicc/application/iso14443_layer2a.c b/openpicc/application/iso14443_layer2a.c
index 3c55967..17cbca8 100644
--- a/openpicc/application/iso14443_layer2a.c
+++ b/openpicc/application/iso14443_layer2a.c
@@ -219,12 +219,13 @@ static void iso14443_ssc_callback(ssc_callback_reason reason, void *data)
}
-static void iso14443_rx_FRAME_cb(u_int32_t pio)
+static portBASE_TYPE iso14443_rx_FRAME_cb(u_int32_t pio, portBASE_TYPE xTaskWoken)
{
(void)pio;
if(PRINT_DEBUG) usb_print_string_f("°", 0); // DEBUG OUTPUT
if(AT91F_PIO_IsInputSet(AT91C_BASE_PIOA, OPENPICC_PIO_FRAME))
ssc_frame_started();
+ return xTaskWoken;
}
int iso14443_layer2a_init(u_int8_t enable_fast_receive)
personal git repositories of Harald Welte. Your mileage may vary