Skip to content

Commit 7650690

Browse files
committed
Clang format portmacro.h with slight tweaks to the format options
1 parent 4f65931 commit 7650690

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

portable/GCC/ARM_CRx_MPU/portmacro.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ extern "C" {
7676
#error "Set configPROTECTED_KERNEL_OBJECT_POOL_SIZE to at least the number " \
7777
"of FreeRTOS-Kernel Objects to be created"
7878
#endif /* configPROTECTED_KERNEL_OBJECT_POOL_SIZE */
79-
#endif /* configENABLE_ACCESS_CONTROL_LIST */
79+
#endif /* configENABLE_ACCESS_CONTROL_LIST */
8080

8181
/** @brief The size in Bytes that the Privileged System Call Stack should be.
8282
*
@@ -553,7 +553,7 @@ UBaseType_t ulPortCountLeadingZeros( UBaseType_t ulBitmap );
553553
#define portSYSTEM_CALL_STACK_SIZE configSYSTEM_CALL_STACK_SIZE
554554

555555
/* Size of an Access Control List (ACL) entry in bits. */
556-
#define portACL_ENTRY_SIZE_BITS ( 32U )
556+
#define portACL_ENTRY_SIZE_BITS ( 32U )
557557

558558
/** @brief Structure to hold the MPU Register Values
559559
* @struct xMPU_REGION_REGISTERS
@@ -669,9 +669,10 @@ typedef struct MPU_SETTINGS
669669
*/
670670
xSYSTEM_CALL_STACK_INFO xSystemCallStackInfo;
671671

672-
#if ( configENABLE_ACCESS_CONTROL_LIST == 1 )
673-
uint32_t ulAccessControlList[ ( configPROTECTED_KERNEL_OBJECT_POOL_SIZE / portACL_ENTRY_SIZE_BITS ) + 1 ];
674-
#endif
672+
#if( configENABLE_ACCESS_CONTROL_LIST == 1 )
673+
uint32_t ulAccessControlList
674+
[ ( configPROTECTED_KERNEL_OBJECT_POOL_SIZE / portACL_ENTRY_SIZE_BITS ) + 1 ];
675+
#endif
675676
} xMPU_SETTINGS;
676677

677678
#ifdef __cplusplus

0 commit comments

Comments
 (0)