aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-05-04 08:25:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-05-04 08:25:43 +0000
commit5666889d8b09fea72fe1aa51944c982acdacefef (patch)
tree0c2dca8bf51f6cc2880f5d903936ed29084c6121 /os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S
parente34eff0df15d8a1e28463bccc1c75b337ace9fb5 (diff)
downloadChibiOS-5666889d8b09fea72fe1aa51944c982acdacefef.tar.gz
ChibiOS-5666889d8b09fea72fe1aa51944c982acdacefef.tar.bz2
ChibiOS-5666889d8b09fea72fe1aa51944c982acdacefef.zip
Fixed bug #1028.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12776 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
Diffstat (limited to 'os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S')
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S2
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