diff options
| author | Damien George | 2015-03-20 22:27:34 +0000 |
|---|---|---|
| committer | Damien George | 2015-03-20 22:27:34 +0000 |
| commit | 7674da8057b5236373345350acd2a7513377d393 (patch) | |
| tree | 95c2fa86be688e2dc01fb8159248a43f3a12f09e /stmhal/pendsv.h | |
| parent | 69922c602cea2b54c30b04078f066717b18425d6 (diff) | |
stmhal: Remove some unnecessary declarations, purely for cleanup.
Diffstat (limited to 'stmhal/pendsv.h')
| -rw-r--r-- | stmhal/pendsv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stmhal/pendsv.h b/stmhal/pendsv.h index f91a7c1d7..7886d9f98 100644 --- a/stmhal/pendsv.h +++ b/stmhal/pendsv.h @@ -26,4 +26,7 @@ void pendsv_init(void); void pendsv_nlr_jump(void *val); -void pendsv_isr_handler(void); + +// since we play tricks with the stack, the compiler must not generate a +// prelude for this function +void pendsv_isr_handler(void) __attribute__((naked)); |
