summaryrefslogtreecommitdiff
path: root/openpicc/application/pll.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/pll.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/pll.c')
-rw-r--r--openpicc/application/pll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openpicc/application/pll.c b/openpicc/application/pll.c
index aca95b1..400bbc9 100644
--- a/openpicc/application/pll.c
+++ b/openpicc/application/pll.c
@@ -44,13 +44,14 @@ int pll_is_locked(void)
return AT91F_PIO_IsInputSet(AT91C_BASE_PIOA, OPENPICC->PLL_LOCK);
}
-static void pll_lock_change_cb(u_int32_t pio)
+static portBASE_TYPE pll_lock_change_cb(u_int32_t pio, portBASE_TYPE xTaskWoken)
{
(void)pio;
DEBUGPCRF("PLL LOCK: %d", pll_is_locked());
#if 0
vLedSetRed(pll_is_locked());
#endif
+ return xTaskWoken;
}
void pll_init(void)
personal git repositories of Harald Welte. Your mileage may vary