mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-23 11:09:28 -05:00
Fix missed variable rename (#600)
This commit is contained in:
parent
4ad4c7679e
commit
c134a58115
1 changed files with 3 additions and 3 deletions
|
|
@ -564,7 +564,7 @@ static bool prvCollectDeviceMetrics( void )
|
|||
/* Collect custom metrics. This demo sends this task's stack high water mark
|
||||
* as a number type custom metric and the current task IDs as a list of
|
||||
* numbers type custom metric. */
|
||||
if( eMetricsCollectorStatus == eMetricsCollectorSuccess )
|
||||
if( eStatus == eMetricsCollectorSuccess )
|
||||
{
|
||||
vTaskGetInfo(
|
||||
/* Query this task. */
|
||||
|
|
@ -578,9 +578,9 @@ static bool prvCollectDeviceMetrics( void )
|
|||
|
||||
if( uxTasksWritten == 0 )
|
||||
{
|
||||
eMetricsCollectorStatus = eMetricsCollectorCollectionFailed;
|
||||
eStatus = eMetricsCollectorCollectionFailed;
|
||||
LogError( ( "Failed to collect system state. uxTaskGetSystemState() failed due to insufficient buffer space.",
|
||||
eMetricsCollectorStatus ) );
|
||||
eStatus ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue