File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5035,11 +5035,11 @@ BaseType_t xTaskIncrementTick( void )
50355035
50365036 traceENTER_xTaskGetApplicationTaskTag ( xTask );
50375037
5038- /* If xTask is NULL then set the calling task's hook. */
5038+ /* If xTask is NULL then get the calling task's hook. */
50395039 pxTCB = prvGetTCBFromHandle ( xTask );
50405040 configASSERT ( pxTCB != NULL );
50415041
5042- /* Save the hook function in the TCB. A critical section is required as
5042+ /* Access the hook function in the TCB. A critical section is required as
50435043 * the value can be accessed from an interrupt. */
50445044 taskENTER_CRITICAL ();
50455045 {
@@ -5065,11 +5065,11 @@ BaseType_t xTaskIncrementTick( void )
50655065
50665066 traceENTER_xTaskGetApplicationTaskTagFromISR ( xTask );
50675067
5068- /* If xTask is NULL then set the calling task's hook. */
5068+ /* If xTask is NULL then get the calling task's hook. */
50695069 pxTCB = prvGetTCBFromHandle ( xTask );
50705070 configASSERT ( pxTCB != NULL );
50715071
5072- /* Save the hook function in the TCB. A critical section is required as
5072+ /* Access the hook function in the TCB. A critical section is required as
50735073 * the value can be accessed from an interrupt. */
50745074 /* MISRA Ref 4.7.1 [Return value shall be checked] */
50755075 /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */
You can’t perform that action at this time.
0 commit comments