mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-07-27 08:13:55 +00:00
Fix missed variable rename (#600)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user