Merge branch 'bugfix/freertos_tick_hook_build_issue' into 'master'

fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled

Closes IDFGH-12247

See merge request espressif/esp-idf!29380
This commit is contained in:
Darian
2024-03-05 19:26:58 +08:00
3 changed files with 10 additions and 8 deletions

View File

@@ -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;
}