Skip to content

Commit

Permalink
Update as per review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Oct 17, 2024
1 parent e6eb61c commit 41aac30
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions source/include/FreeRTOSIPConfigDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -1162,14 +1162,8 @@ STATIC_ASSERT( pdMS_TO_TICKS( ipconfigPHY_LS_LOW_CHECK_TIME_MS ) <= portMAX_DELA
#error ipconfigIP_TASK_PRIORITY must be at least 0
#endif

#if ( configENABLE_MPU != 0 )
#if ( ipconfigIP_TASK_PRIORITY > ( ( configMAX_PRIORITIES - 1 ) | portPRIVILEGE_BIT ) )
#error ipconfigIP_TASK_PRIORITY must be at most ( ( configMAX_PRIORITIES - 1 ) | portPRIVILEGE_BIT ) )
#endif
#else
#if ( ipconfigIP_TASK_PRIORITY > ( configMAX_PRIORITIES - 1 ) )
#error ipconfigIP_TASK_PRIORITY must be at most configMAX_PRIORITIES - 1
#endif
#if ( ( ipconfigIP_TASK_PRIORITY & ~( portPRIVILEGE_BIT ) ) > ( configMAX_PRIORITIES - 1 ) )
#error ipconfigIP_TASK_PRIORITY must be at most configMAX_PRIORITIES - 1 or ( ( configMAX_PRIORITIES - 1 ) | portPRIVILEGE_BIT ) ) when configENABLE_MPU is enabled.
#endif

/*---------------------------------------------------------------------------*/
Expand Down

0 comments on commit 41aac30

Please sign in to comment.