/*\r
- * FreeRTOS Kernel V10.2.1\r
- * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
+ * FreeRTOS Kernel V10.3.0\r
+ * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
*\r
* Permission is hereby granted, free of charge, to any person obtaining a copy of\r
* this software and associated documentation files (the "Software"), to deal in\r
TaskHandle_t xTestTask;\r
TaskStatus_t xTaskInfo;\r
extern StackType_t uxTimerTaskStack[];\r
-static TickType_t xLastIdleExecutionTime = 0;\r
-TickType_t xIdleExecutionTime;\r
+static uint32_t ulLastIdleExecutionTime = 0;\r
+uint32_t ulIdleExecutionTime;\r
\r
/* Demonstrate the use of the xTimerGetTimerDaemonTaskHandle() and\r
xTaskGetIdleTaskHandle() functions. Also try using the function that sets\r
}\r
}\r
\r
- xIdleExecutionTime = xTaskGetIdleRunTimeCounter();\r
- if( xIdleExecutionTime == xLastIdleExecutionTime )\r
+ ulIdleExecutionTime = ulTaskGetIdleRunTimeCounter();\r
+ if( ulIdleExecutionTime == ulLastIdleExecutionTime )\r
{\r
pcStatusMessage = "Error: Total amount of Idle task execution time did not change";\r
}\r
- xLastIdleExecutionTime = xIdleExecutionTime;\r
+ ulLastIdleExecutionTime = ulIdleExecutionTime;\r
}\r
/*-----------------------------------------------------------*/\r
\r