diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-24 12:37:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-24 12:37:34 +0000 |
commit | f6622af31b044126fa60b701799b252cc7ab6fdb (patch) | |
tree | b14634b9673481d2eaf4ef671fda5ab71fb601e5 /os | |
parent | b3b4c6ad41cdaf70f38162b0764b18758f79feb3 (diff) | |
download | ChibiOS-f6622af31b044126fa60b701799b252cc7ab6fdb.tar.gz ChibiOS-f6622af31b044126fa60b701799b252cc7ab6fdb.tar.bz2 ChibiOS-f6622af31b044126fa60b701799b252cc7ab6fdb.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8639 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_v7m.h | 4 |
1 files 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
|