diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-05 05:52:53 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-05 05:52:53 +0000 |
commit | b5be7c184f7d07b49a04098cd41d980f90f7e699 (patch) | |
tree | 19c6ce79b44768d7336e533faf3b089389d13912 /openpicc/application/pll.c | |
parent | 6304718e371e590b09e176c05df21fc5fb631cec (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.c | 3 |
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) |