Fix missed variable rename (#600)

pull/604/head^2
Archit Gupta 4 years ago 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 /* 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 * as a number type custom metric and the current task IDs as a list of
* numbers type custom metric. */ * numbers type custom metric. */
if( eMetricsCollectorStatus == eMetricsCollectorSuccess ) if( eStatus == eMetricsCollectorSuccess )
{ {
vTaskGetInfo( vTaskGetInfo(
/* Query this task. */ /* Query this task. */
@ -578,9 +578,9 @@ static bool prvCollectDeviceMetrics( void )
if( uxTasksWritten == 0 ) if( uxTasksWritten == 0 )
{ {
eMetricsCollectorStatus = eMetricsCollectorCollectionFailed; eStatus = eMetricsCollectorCollectionFailed;
LogError( ( "Failed to collect system state. uxTaskGetSystemState() failed due to insufficient buffer space.", LogError( ( "Failed to collect system state. uxTaskGetSystemState() failed due to insufficient buffer space.",
eMetricsCollectorStatus ) ); eStatus ) );
} }
else else
{ {

Loading…
Cancel
Save