kopia lustrzana https://github.com/espressif/esp-idf
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
Closes https://github.com/espressif/esp-idf/issues/13297pull/13338/head
rodzic
b76123af06
commit
dec3786d30
|
@ -3356,7 +3356,7 @@ BaseType_t xTaskIncrementTick( void )
|
|||
{
|
||||
/* Guard against the tick hook being called when the pended tick
|
||||
* count is being unwound (when the scheduler is being unlocked). */
|
||||
if( xPendedTicksTemp == ( TickType_t ) 0 )
|
||||
if( xPendedTicks == ( TickType_t ) 0 )
|
||||
{
|
||||
xCallTickHook = pdTRUE;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue