Skip to content

Commit

Permalink
Fix get idle memory prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 19, 2023
1 parent 36e3b7f commit 64df357
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions FreeRTOS/Test/Coverity/Portable.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ void portAssert()
}
/*-----------------------------------------------------------*/

#if ( configNUMBER_OF_CORES == 1 )
void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer,
StackType_t ** ppxIdleTaskStackBuffer,
uint32_t * pulIdleTaskStackSize )
Expand All @@ -146,6 +147,19 @@ void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer,
( void ) ppxIdleTaskStackBuffer;
( void ) pulIdleTaskStackSize;
}
#else
void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer,
StackType_t ** ppxIdleTaskStackBuffer,
uint32_t * pulIdleTaskStackSize,
BaseType_t xCoreID )
{
( void ) ppxIdleTaskTCBBuffer;
( void ) ppxIdleTaskStackBuffer;
( void ) pulIdleTaskStackSize;
( void ) xCoreID;
}

#endif
/*-----------------------------------------------------------*/

void vPortStoreTaskMPUSettings( xMPU_SETTINGS * xMPUSettings,
Expand Down

0 comments on commit 64df357

Please sign in to comment.