Skip to content

Commit

Permalink
Merge branch 'main' into fix-misra-11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws authored Dec 7, 2023
2 parents f7034e3 + 93ef558 commit 9276b79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -7412,7 +7412,8 @@ static void prvResetNextTaskUnblockTime( void )
int iSnprintfReturnValue;
BaseType_t xOutputBufferFull = pdFALSE;
UBaseType_t uxArraySize, x;
configRUN_TIME_COUNTER_TYPE ulTotalTime, ulStatsAsPercentage;
configRUN_TIME_COUNTER_TYPE ulTotalTime = 0;
configRUN_TIME_COUNTER_TYPE ulStatsAsPercentage;

traceENTER_vTaskGetRunTimeStatistics( pcWriteBuffer, uxBufferLength );

Expand Down
4 changes: 2 additions & 2 deletions timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,12 +943,12 @@

static void prvProcessReceivedCommands( void )
{
DaemonTaskMessage_t xMessage;
DaemonTaskMessage_t xMessage = { 0 };
Timer_t * pxTimer;
BaseType_t xTimerListsWereSwitched;
TickType_t xTimeNow;

while( xQueueReceive( xTimerQueue, &xMessage, tmrNO_DELAY ) != pdFAIL ) /*lint !e603 xMessage does not have to be initialised as it is passed out, not in, and it is not used unless xQueueReceive() returns pdTRUE. */
while( xQueueReceive( xTimerQueue, &xMessage, tmrNO_DELAY ) != pdFAIL )
{
#if ( INCLUDE_xTimerPendFunctionCall == 1 )
{
Expand Down

0 comments on commit 9276b79

Please sign in to comment.