Skip to content

Commit 4f03e85

Browse files
committed
Format files
1 parent 397367a commit 4f03e85

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

include/task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION;
22262226
* the scheduler for an extended period. The callback runs while the
22272227
* scheduler is suspended, so it must return quickly and must not perform
22282228
* blocking operations.
2229-
*
2229+
*
22302230
* NOTE: This API is privileged-only (it invokes a user callback from
22312231
* privileged context).
22322232
*

tasks.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4521,7 +4521,11 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery )
45214521
UBaseType_t uxTask;
45224522

45234523
configASSERT( pxCallbackFunction != NULL );
4524-
if( pxCallbackFunction == NULL ) return 0;
4524+
4525+
if( pxCallbackFunction == NULL )
4526+
{
4527+
return 0;
4528+
}
45254529

45264530
vTaskSuspendAll();
45274531
{

0 commit comments

Comments
 (0)