Fix remarks emitted by IAR compiler (#763)

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2023-08-21 14:48:22 +05:30 committed by GitHub
parent 7372519cba
commit b9f488a713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 54 additions and 33 deletions

View file

@ -243,7 +243,7 @@ BaseType_t xPortStartScheduler( void )
/* Check that the bits not implemented in hardware are zero in
* configMAX_SYSCALL_INTERRUPT_PRIORITY. */
configASSERT( ( configMAX_SYSCALL_INTERRUPT_PRIORITY & ( ~ucMaxPriorityValue ) ) == 0U );
configASSERT( ( configMAX_SYSCALL_INTERRUPT_PRIORITY & ( uint8_t ) ( ~( uint32_t ) ucMaxPriorityValue ) ) == 0U );
/* Calculate the maximum acceptable priority group value for the number
* of bits read back. */