aboutsummaryrefslogtreecommitdiffstats
path: root/src/pru
diff options
context:
space:
mode:
Diffstat (limited to 'src/pru')
-rw-r--r--src/pru/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pru/main.c b/src/pru/main.c
index 6eed82e3..49d929ef 100644
--- a/src/pru/main.c
+++ b/src/pru/main.c
@@ -89,7 +89,7 @@ _irq_poll(void)
}
CT_INTC.SECR0 = (1 << IEP_EVENT) | (1 << KICK_PRU1_EVENT);
}
-void
+void __attribute__((optimize("O2")))
irq_poll(void)
{
if (read_r31() & (1 << (WAKE_PRU1_IRQ + R31_IRQ_OFFSET)))