mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	Revert "fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()"
This reverts commit 6c6a6ad44a.
			
			
This commit is contained in:
		@@ -3267,9 +3267,7 @@ BaseType_t xTaskIncrementTick( void )
 | 
			
		||||
                             * 0, we only need to context switch if the unblocked
 | 
			
		||||
                             * task can run on core 0 and has a higher priority
 | 
			
		||||
                             * than the current task. */
 | 
			
		||||
 | 
			
		||||
                            /* ">" changed to ">="" due to IDF incompatibility (IDF-8428) */
 | 
			
		||||
                            if( ( taskIS_AFFINITY_COMPATIBLE( 0, pxTCB->xCoreID ) == pdTRUE ) && ( pxTCB->uxPriority >= pxCurrentTCBs[ 0 ]->uxPriority ) )
 | 
			
		||||
                            if( ( taskIS_AFFINITY_COMPATIBLE( 0, pxTCB->xCoreID ) == pdTRUE ) && ( pxTCB->uxPriority > pxCurrentTCBs[ 0 ]->uxPriority ) )
 | 
			
		||||
                            {
 | 
			
		||||
                                xSwitchRequired = pdTRUE;
 | 
			
		||||
                            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user