Skip to content

Commit 9dde701

Browse files
committed
Update as per review suggestion
1 parent 41aac30 commit 9dde701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ STATIC_ASSERT( pdMS_TO_TICKS( ipconfigPHY_LS_LOW_CHECK_TIME_MS ) <= portMAX_DELA
11621162
#error ipconfigIP_TASK_PRIORITY must be at least 0
11631163
#endif
11641164

1165-
#if ( ( ipconfigIP_TASK_PRIORITY & ~( portPRIVILEGE_BIT ) ) > ( configMAX_PRIORITIES - 1 ) )
1165+
#if ( ipconfigIP_TASK_PRIORITY > ( ( configMAX_PRIORITIES - 1 ) | portPRIVILEGE_BIT ) )
11661166
#error ipconfigIP_TASK_PRIORITY must be at most configMAX_PRIORITIES - 1 or ( ( configMAX_PRIORITIES - 1 ) | portPRIVILEGE_BIT ) ) when configENABLE_MPU is enabled.
11671167
#endif
11681168

0 commit comments

Comments
 (0)