Ensure the PIC32 interrupt stack is 8 byte aligned for all values of configISR_STACK_SIZE.

This commit is contained in:
Richard Barry 2017-04-09 20:13:48 +00:00
parent 96db5a3600
commit 8ca40d80a9
4 changed files with 14 additions and 8 deletions

View file

@ -209,7 +209,7 @@ extern void vPortClearInterruptMaskFromISR( UBaseType_t );
/*-----------------------------------------------------------*/
#define portGET_HIGHEST_PRIORITY( uxTopPriority, uxReadyPriorities ) uxTopPriority = ( 31 - _clz( ( uxReadyPriorities ) ) )
#define portGET_HIGHEST_PRIORITY( uxTopPriority, uxReadyPriorities ) uxTopPriority = ( 31UL - _clz( ( uxReadyPriorities ) ) )
#endif /* taskRECORD_READY_PRIORITY */