forked from epagris/FreeRTOS-Kernel
		
	Fix MISRA_C_2012 rule 7.2 violation (#842)
* Add a u or U suffix for unsigned numerical literals * Fix formatting * Replace u with U for naming convention --------- Co-authored-by: Soren Ptak <ptaksoren@gmail.com> Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									71d86f9a6e
								
							
						
					
					
						commit
						ce41f6ec74
					
				@ -89,7 +89,7 @@
 | 
			
		||||
    #define taskCHECK_FOR_STACK_OVERFLOW()                                                            \
 | 
			
		||||
    do {                                                                                              \
 | 
			
		||||
        const uint32_t * const pulStack = ( uint32_t * ) pxCurrentTCB->pxStack;                       \
 | 
			
		||||
        const uint32_t ulCheckValue = ( uint32_t ) 0xa5a5a5a5;                                        \
 | 
			
		||||
        const uint32_t ulCheckValue = ( uint32_t ) 0xa5a5a5a5U;                                       \
 | 
			
		||||
                                                                                                      \
 | 
			
		||||
        if( ( pulStack[ 0 ] != ulCheckValue ) ||                                                      \
 | 
			
		||||
            ( pulStack[ 1 ] != ulCheckValue ) ||                                                      \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user