Use a complete sentence in comment

This commit is contained in:
chinglee-iot 2024-02-06 21:11:36 +08:00 committed by GitHub
parent e5bdeff7a9
commit 07cb29df17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3819,7 +3819,7 @@ void vTaskSuspendAll( void )
/* This must only be called from within a task. */
portASSERT_IF_IN_ISR();
/* This must never be called from inside a critical section */
/* This must never be called from inside a critical section. */
configASSERT( portGET_CRITICAL_NESTING_COUNT() == 0 );
if( xSchedulerRunning != pdFALSE )
@ -7724,7 +7724,7 @@ TickType_t uxTaskResetEventItemValue( void )
}
xAlreadyYielded = xTaskResumeAll();
/* Force a reschedule if xTaskResumeAll has not already done so */
/* Force a reschedule if xTaskResumeAll has not already done so. */
if( ( xShouldBlock == pdTRUE ) && ( xAlreadyYielded == pdFALSE ) )
{
taskYIELD_WITHIN_API();
@ -7832,7 +7832,7 @@ TickType_t uxTaskResetEventItemValue( void )
}
xAlreadyYielded = xTaskResumeAll();
/* Force a reschedule if xTaskResumeAll has not already done so */
/* Force a reschedule if xTaskResumeAll has not already done so. */
if( ( xShouldBlock == pdTRUE ) && ( xAlreadyYielded == pdFALSE ) )
{
taskYIELD_WITHIN_API();