mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
Closes https://github.com/espressif/esp-idf/issues/13297
This commit is contained in:
@ -3319,7 +3319,7 @@ BaseType_t xTaskIncrementTick( void )
|
|||||||
{
|
{
|
||||||
/* Guard against the tick hook being called when the pended tick
|
/* Guard against the tick hook being called when the pended tick
|
||||||
* count is being unwound (when the scheduler is being unlocked). */
|
* count is being unwound (when the scheduler is being unlocked). */
|
||||||
if( xPendedTicksTemp == ( TickType_t ) 0 )
|
if( xPendedTicks == ( TickType_t ) 0 )
|
||||||
{
|
{
|
||||||
xCallTickHook = pdTRUE;
|
xCallTickHook = pdTRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user