mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 11:09:01 +01:00 
			
		
		
		
	Update tasks.c (#24)
An error on trace argument. In "xTaskPriorityDisinherit", the disinherit priority should be "pxTCB->uxBasePriority". And, in "vTaskPriorityDisinheritAfterTimeout", the disinherit priority should be "uxPriorityToUse", which might not be "pxTCB->uxBasePriority".
This commit is contained in:
		
							parent
							
								
									9b02ee0af2
								
							
						
					
					
						commit
						180d0b8ee3
					
				
							
								
								
									
										2
									
								
								tasks.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tasks.c
									
									
									
									
									
								
							@ -4229,7 +4229,7 @@ TCB_t *pxTCB;
 | 
			
		||||
					/* Disinherit the priority, remembering the previous
 | 
			
		||||
					priority to facilitate determining the subject task's
 | 
			
		||||
					state. */
 | 
			
		||||
					traceTASK_PRIORITY_DISINHERIT( pxTCB, pxTCB->uxBasePriority );
 | 
			
		||||
					traceTASK_PRIORITY_DISINHERIT( pxTCB, uxPriorityToUse );
 | 
			
		||||
					uxPriorityUsedOnEntry = pxTCB->uxPriority;
 | 
			
		||||
					pxTCB->uxPriority = uxPriorityToUse;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user