@ -384,7 +384,7 @@ BaseType_t xPortStartScheduler( void )
{
{
# if ( configASSERT_DEFINED == 1 )
# if ( configASSERT_DEFINED == 1 )
{
{
volatile uint 32_t ul OriginalPriority;
volatile uint 8_t uc OriginalPriority;
volatile uint32_t ulImplementedPrioBits = 0 ;
volatile uint32_t ulImplementedPrioBits = 0 ;
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER ) ;
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER ) ;
volatile uint8_t ucMaxPriorityValue ;
volatile uint8_t ucMaxPriorityValue ;
@ -395,7 +395,7 @@ BaseType_t xPortStartScheduler( void )
* to ensure interrupt entry is as fast and simple as possible .
* to ensure interrupt entry is as fast and simple as possible .
*
*
* Save the interrupt priority value that is about to be clobbered . */
* Save the interrupt priority value that is about to be clobbered . */
u l OriginalPriority = * pucFirstUserPriorityRegister ;
u c OriginalPriority = * pucFirstUserPriorityRegister ;
/* Determine the number of priority bits available. First write to all
/* Determine the number of priority bits available. First write to all
* possible bits . */
* possible bits . */
@ -476,7 +476,7 @@ BaseType_t xPortStartScheduler( void )
/* Restore the clobbered interrupt priority register to its original
/* Restore the clobbered interrupt priority register to its original
* value . */
* value . */
* pucFirstUserPriorityRegister = u l OriginalPriority;
* pucFirstUserPriorityRegister = u c OriginalPriority;
}
}
# endif /* configASSERT_DEFINED */
# endif /* configASSERT_DEFINED */