aboutsummaryrefslogtreecommitdiffstats
path: root/src/pru/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pru/main.c')
-rw-r--r--src/pru/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/pru/main.c b/src/pru/main.c
index 04d440df..45eb8274 100644
--- a/src/pru/main.c
+++ b/src/pru/main.c
@@ -49,6 +49,7 @@ void
irq_wait(void)
{
asm("slp 1");
+ irq_poll();
}
// Set the next timer wake up time
@@ -58,13 +59,6 @@ timer_set(uint32_t value)
CT_IEP.TMR_CMP0 = value;
}
-// Return the next scheduled wake up time
-uint32_t
-timer_get_next(void)
-{
- return CT_IEP.TMR_CMP0;
-}
-
// Return the current time (in absolute clock ticks).
uint32_t
timer_read_time(void)