mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
Merge branch 'bugfix/fix-invalid-task-exit-critical_v4.3' into 'release/v4.3'
fixed invalid taskEXIT_CRITICAL See merge request espressif/esp-idf!22614
This commit is contained in:
@ -3893,7 +3893,7 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters )
|
||||
const UBaseType_t uxNonApplicationTasks = 1;
|
||||
eSleepModeStatus eReturn = eStandardSleep;
|
||||
|
||||
taskEXIT_CRITICAL(&xTaskQueueMutex);
|
||||
taskENTER_CRITICAL(&xTaskQueueMutex);
|
||||
if( listCURRENT_LIST_LENGTH( &xPendingReadyList[xPortGetCoreID()] ) != 0 )
|
||||
{
|
||||
/* A task was made ready while the scheduler was suspended. */
|
||||
|
Reference in New Issue
Block a user