Skip to content

Commit

Permalink
prvTaskCheckFreeStackSpace remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
feilipu committed Jan 8, 2024
1 parent a2673db commit af9b0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -6350,7 +6350,7 @@ static void prvCheckTasksWaitingTermination( void )

uxCount /= ( configSTACK_DEPTH_TYPE ) sizeof( StackType_t );

return ( configSTACK_DEPTH_TYPE ) uxCount;
return uxCount;
}

#endif /* ( ( configUSE_TRACE_FACILITY == 1 ) || ( INCLUDE_uxTaskGetStackHighWaterMark == 1 ) ) */
Expand Down

0 comments on commit af9b0af

Please sign in to comment.