diff options
Diffstat (limited to 'os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S')
-rw-r--r-- | os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S b/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S index 89e37583e..deae827c4 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S +++ b/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S @@ -103,7 +103,7 @@ _port_switch: .thumb_func
.globl _port_thread_start
_port_thread_start:
-#if CH_DBG_ENABLE_STACK_CHECK || PORT_ENABLE_GUARD_PAGES
+#if CH_DBG_ENABLE_STACK_CHECK && PORT_ENABLE_GUARD_PAGES
bl _port_set_region
#endif
#if CH_DBG_SYSTEM_STATE_CHECK
|