git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8639 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
b3b4c6ad41
commit
f6622af31b
|
@ -457,13 +457,13 @@ static inline void port_lock(void) {
|
||||||
|
|
||||||
#if CORTEX_SIMPLIFIED_PRIORITY == FALSE
|
#if CORTEX_SIMPLIFIED_PRIORITY == FALSE
|
||||||
#if defined(__CM7_REV)
|
#if defined(__CM7_REV)
|
||||||
#if __CM7_REV == 0
|
#if __CM7_REV <= 1
|
||||||
__disable_irq();
|
__disable_irq();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
__set_BASEPRI(CORTEX_BASEPRI_KERNEL);
|
__set_BASEPRI(CORTEX_BASEPRI_KERNEL);
|
||||||
#if defined(__CM7_REV)
|
#if defined(__CM7_REV)
|
||||||
#if __CM7_REV == 0
|
#if __CM7_REV <= 1
|
||||||
__enable_irq();
|
__enable_irq();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue