aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/Features.md2
-rw-r--r--src/pru/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/Features.md b/docs/Features.md
index 9c718977..49980118 100644
--- a/docs/Features.md
+++ b/docs/Features.md
@@ -86,7 +86,7 @@ represent total number of steps per second on the micro-controller.
| 20Mhz AVR | 189K | 125K |
| 16Mhz AVR | 151K | 100K |
| Arduino Due (ARM) | 382K | 337K |
-| Beaglebone PRU | 680K | 680K |
+| Beaglebone PRU | 689K | 689K |
On AVR platforms, the highest achievable step rate is with just one
stepper stepping. On the Due, the highest step rate is with two
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)))