Fix an error in pre-processor condition
This commit is contained in:
parent
860a2fc786
commit
d7af5b234c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user