Fix missed variable rename ()

pull/604/head^2
Archit Gupta committed by GitHub
parent 4ad4c7679e
commit c134a58115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save