summaryrefslogtreecommitdiff
path: root/FreeRTOS-Plus/Demo
diff options
context:
space:
mode:
authorArchit Gupta <71798289+archigup@users.noreply.github.com>2021-05-17 14:31:42 -0700
committerGitHub <noreply@github.com>2021-05-17 14:31:42 -0700
commitc134a581153c1b137af2af2e93564c495977872f (patch)
tree3acd492099fe7c93f05b3258492f4aa6270a653d /FreeRTOS-Plus/Demo
parent4ad4c7679e4e8d38c33410af0332e5d38c758f93 (diff)
downloadfreertos-git-c134a581153c1b137af2af2e93564c495977872f.tar.gz
Fix missed variable rename (#600)
Diffstat (limited to 'FreeRTOS-Plus/Demo')
-rw-r--r--FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/DemoTasks/DefenderDemoExample.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/DemoTasks/DefenderDemoExample.c b/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/DemoTasks/DefenderDemoExample.c
index ebc0ed93e..0a2031aae 100644
--- a/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/DemoTasks/DefenderDemoExample.c
+++ b/FreeRTOS-Plus/Demo/AWS/Device_Defender_Windows_Simulator/Device_Defender_Demo/DemoTasks/DefenderDemoExample.c
@@ -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
{