aboutsummaryrefslogtreecommitdiff
path: root/stmhal/pendsv.c
diff options
context:
space:
mode:
authorDamien George2015-03-20 22:27:34 +0000
committerDamien George2015-03-20 22:27:34 +0000
commit7674da8057b5236373345350acd2a7513377d393 (patch)
tree95c2fa86be688e2dc01fb8159248a43f3a12f09e /stmhal/pendsv.c
parent69922c602cea2b54c30b04078f066717b18425d6 (diff)
stmhal: Remove some unnecessary declarations, purely for cleanup.
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