From 5666889d8b09fea72fe1aa51944c982acdacefef Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 4 May 2019 08:25:43 +0000 Subject: 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 --- os/common/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/common/ports/ARMCMx/compilers/GCC') 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 -- cgit v1.2.3