File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1689,7 +1689,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
16891689 /* MISRA Ref 11.5.1 [Malloc memory assignment] */
16901690 /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-115 */
16911691 /* coverity[misra_c_2012_rule_11_5_violation] */
1692- pxStack = pvPortMallocStack ( ( ( ( size_t ) uxStackDepth ) * sizeof ( StackType_t ) ) );
1692+ pxStack = ( StackType_t * ) pvPortMallocStack ( ( ( ( size_t ) uxStackDepth ) * sizeof ( StackType_t ) ) );
16931693
16941694 if ( pxStack != NULL )
16951695 {
@@ -6916,7 +6916,7 @@ static void prvResetNextTaskUnblockTime( void )
69166916 /* It is known that the task is in its ready list so
69176917 * there is no need to check again and the port level
69186918 * reset macro can be called directly. */
6919- portRESET_READY_PRIORITY ( pxTCB -> uxPriority , uxTopReadyPriority );
6919+ portRESET_READY_PRIORITY ( uxPriorityUsedOnEntry , uxTopReadyPriority );
69206920 }
69216921 else
69226922 {
You can’t perform that action at this time.
0 commit comments