aboutsummaryrefslogtreecommitdiff
path: root/stmhal/pendsv.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pendsv.c')
-rw-r--r--stmhal/pendsv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stmhal/pendsv.c b/stmhal/pendsv.c
index 68455b275..48fb79e20 100644
--- a/stmhal/pendsv.c
+++ b/stmhal/pendsv.c
@@ -59,10 +59,6 @@ void pendsv_nlr_jump(void *o) {
}
}
-// since we play tricks with the stack, the compiler must not generate a
-// prelude for this function
-void pendsv_isr_handler(void) __attribute__((naked));
-
void pendsv_isr_handler(void) {
// re-jig the stack so that when we return from this interrupt handler
// it returns instead to nlr_jump with argument pendsv_object