tasks.c: Fix typo

This commit is contained in:
Paul Bartell 2024-02-05 13:42:20 -08:00
parent 661f1410ff
commit 845a048b83

View file

@ -3808,7 +3808,7 @@ void vTaskSuspendAll( void )
/* This must only be called from within a task. */ /* This must only be called from within a task. */
portASSERT_IF_IN_ISR(); portASSERT_IF_IN_ISR();
/* This must enver be called from inside a critical section */ /* This must never be called from inside a critical section */
configASSERT( portGET_CRITICAL_NESTING_COUNT() == 0 ); configASSERT( portGET_CRITICAL_NESTING_COUNT() == 0 );
if( xSchedulerRunning != pdFALSE ) if( xSchedulerRunning != pdFALSE )