File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1033,9 +1033,10 @@ UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) PRIVILEGED_FUNC
1033
1033
* Obtain the base priority of any task.
1034
1034
*
1035
1035
* @param xTask Handle of the task to be queried. Passing a NULL
1036
- * handle results in the priority of the calling task being returned.
1036
+ * handle results in the base priority of the calling task being returned.
1037
1037
*
1038
1038
* @return The base priority of xTask.
1039
+ *
1039
1040
* \defgroup uxTaskPriorityGet uxTaskBasePriorityGet
1040
1041
* \ingroup TaskCtrl
1041
1042
*/
Original file line number Diff line number Diff line change @@ -2474,8 +2474,8 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
2474
2474
2475
2475
taskENTER_CRITICAL ();
2476
2476
{
2477
- /* If null is passed in here then it is the priority of the task
2478
- * that called uxTaskPriorityGet () that is being queried. */
2477
+ /* If null is passed in here then it is the base priority of the task
2478
+ * that called uxTaskBasePriorityGet () that is being queried. */
2479
2479
pxTCB = prvGetTCBFromHandle ( xTask );
2480
2480
uxReturn = pxTCB -> uxBasePriority ;
2481
2481
}
@@ -2519,7 +2519,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
2519
2519
2520
2520
uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR ();
2521
2521
{
2522
- /* If null is passed in here then it is the priority of the calling
2522
+ /* If null is passed in here then it is the base priority of the calling
2523
2523
* task that is being queried. */
2524
2524
pxTCB = prvGetTCBFromHandle ( xTask );
2525
2525
uxReturn = pxTCB -> uxBasePriority ;
You can’t perform that action at this time.
0 commit comments