File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 *
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments