diff options
Diffstat (limited to 'os/kernel/include')
-rw-r--r-- | os/kernel/include/chsys.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/os/kernel/include/chsys.h b/os/kernel/include/chsys.h index b69736a1d..89b64e3f9 100644 --- a/os/kernel/include/chsys.h +++ b/os/kernel/include/chsys.h @@ -193,10 +193,9 @@ *
* @special
*/
-#define CH_IRQ_PROLOGUE() { \
+#define CH_IRQ_PROLOGUE() \
PORT_IRQ_PROLOGUE(); \
- dbg_check_enter_isr(); \
-}
+ dbg_check_enter_isr()
/**
* @brief IRQ handler exit code.
@@ -206,10 +205,9 @@ *
* @special
*/
-#define CH_IRQ_EPILOGUE() { \
+#define CH_IRQ_EPILOGUE() \
dbg_check_leave_isr(); \
- PORT_IRQ_EPILOGUE(); \
-}
+ PORT_IRQ_EPILOGUE()
/**
* @brief Standard normal IRQ handler declaration.
|