Fix an error in pre-processor condition

This commit is contained in:
Gregory Nutt 2015-12-21 21:36:34 -06:00
parent 860a2fc786
commit d7af5b234c
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)