This commit is contained in:
Ching-Hsin,Lee 2024-07-08 12:34:48 +08:00
parent 0fcb04a41d
commit 98faa785cb

View file

@ -3907,7 +3907,7 @@ void vTaskSuspendAll( void )
portGET_TASK_LOCK(); portGET_TASK_LOCK();
/* uxSchedulerSuspended is increased after prvCheckForRunStateChange. The /* uxSchedulerSuspended is increased after prvCheckForRunStateChange. The
* purpose is to prevent altering the variable when fromISR APIs are readying * purpose is to prevent altering the variable when fromISR APIs are reading
* it. */ * it. */
if( uxSchedulerSuspended == 0U ) if( uxSchedulerSuspended == 0U )
{ {