From f6622af31b044126fa60b701799b252cc7ab6fdb Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 24 Dec 2015 12:37:34 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8639 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/ARMCMx/chcore_v7m.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/rt/ports/ARMCMx/chcore_v7m.h b/os/rt/ports/ARMCMx/chcore_v7m.h index ed78d1bce..2d5b82a9e 100644 --- a/os/rt/ports/ARMCMx/chcore_v7m.h +++ b/os/rt/ports/ARMCMx/chcore_v7m.h @@ -457,13 +457,13 @@ static inline void port_lock(void) { #if CORTEX_SIMPLIFIED_PRIORITY == FALSE #if defined(__CM7_REV) -#if __CM7_REV == 0 +#if __CM7_REV <= 1 __disable_irq(); #endif #endif __set_BASEPRI(CORTEX_BASEPRI_KERNEL); #if defined(__CM7_REV) -#if __CM7_REV == 0 +#if __CM7_REV <= 1 __enable_irq(); #endif #endif