mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 16:14:34 +02:00
Also call tick hook on app cpu when scheduler is suspended
This commit is contained in:
@@ -2308,7 +2308,7 @@ BaseType_t xSwitchRequired = pdFALSE;
|
|||||||
{
|
{
|
||||||
/* 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( uxPendedTicks == ( UBaseType_t ) 0U )
|
if( ( uxSchedulerSuspended[ xPortGetCoreID() ] != ( UBaseType_t ) pdFALSE ) || uxPendedTicks == ( UBaseType_t ) 0U )
|
||||||
{
|
{
|
||||||
vApplicationTickHook();
|
vApplicationTickHook();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user