]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/WIN32-MingW/main_full.c
Update version number in readiness for V10.3.0 release. Sync SVN with reviewed releas...
[freertos] / FreeRTOS / Demo / WIN32-MingW / main_full.c
index 718c1e1b0a86edcc052fc646f43a7855cdecd2ce..e24aacb474aa47b86c62a0cabc9e20c33d1067ec 100644 (file)
@@ -1,6 +1,6 @@
 /*\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
@@ -627,8 +627,8 @@ static portBASE_TYPE xPerformedOneShotTests = pdFALSE;
 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
@@ -728,12 +728,12 @@ TickType_t xIdleExecutionTime;
                }\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