mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Fix an error in pre-processor condition
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
|
||||
/* MPU Region Number Register Bit Definitions */
|
||||
|
||||
#ifdef CONFIG_ARM_MPU_NREGIONS <= 8
|
||||
#if CONFIG_ARM_MPU_NREGIONS <= 8
|
||||
# define MPU_RNR_MASK (0x00000007)
|
||||
#elif CONFIG_ARM_MPU_NREGIONS <= 16
|
||||
# define MPU_RNR_MASK (0x0000000f)
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
/* MPU Region Number Register */
|
||||
|
||||
#ifdef CONFIG_ARM_MPU_NREGIONS <= 8
|
||||
#if CONFIG_ARM_MPU_NREGIONS <= 8
|
||||
# define MPU_RGNR_MASK (0x00000007)
|
||||
#elif CONFIG_ARM_MPU_NREGIONS <= 16
|
||||
# define MPU_RGNR_MASK (0x0000000f)
|
||||
|
||||
Reference in New Issue
Block a user