diff options
Diffstat (limited to 'openpicc/application/pio_irq.h')
-rw-r--r-- | openpicc/application/pio_irq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpicc/application/pio_irq.h b/openpicc/application/pio_irq.h index 98a4b63..d5d8490 100644 --- a/openpicc/application/pio_irq.h +++ b/openpicc/application/pio_irq.h @@ -2,9 +2,10 @@ #define _PIO_IRQ_H #include "openpicc.h" +#include "FreeRTOS.h" #define NR_PIO 32 -typedef void irq_handler_t(u_int32_t pio); +typedef portBASE_TYPE irq_handler_t(u_int32_t pio, portBASE_TYPE xTaskWoken); extern void pio_irq_enable(u_int32_t pio); extern void pio_irq_disable(u_int32_t pio); |