]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/WIN32-MSVC/main_full.c
Update the main Win32 MSVC demo to account for the changes to the Win32 port layer...
[freertos] / FreeRTOS / Demo / WIN32-MSVC / main_full.c
index 7cd0d3b1b1c58c863868ddc30993d3bef22c0657..91bf1e8f81a9c8b2c4ff65d9306f7fe0bd423661 100644 (file)
  * application.  It is provided as a convenient development and demonstration\r
  * test bed only.  This was tested using Windows XP on a dual core laptop.\r
  *\r
- * In this example, one simulated millisecond will take approximately 40ms to\r
- * execute, and Windows will not be running the FreeRTOS simulator threads\r
- * continuously, so the timing information in the FreeRTOS+Trace logs have no\r
- * meaningful units.  See the documentation page for the Windows simulator for\r
- * an explanation of the slow timing:\r
+ * Windows will not be running the FreeRTOS simulator threads continuously, so \r
+ * the timing information in the FreeRTOS+Trace logs have no meaningful units.  \r
+ * See the documentation page for the Windows simulator for an explanation of \r
+ * the slow timing:\r
  * http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html\r
  * - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT -\r
  *\r
@@ -221,7 +220,7 @@ int main_full( void )
 static void prvCheckTask( void *pvParameters )\r
 {\r
 portTickType xNextWakeTime;\r
-const portTickType xCycleFrequency = 1000 / portTICK_RATE_MS;\r
+const portTickType xCycleFrequency = 2500 / portTICK_RATE_MS;\r
 \r
        /* Just to remove compiler warning. */\r
        ( void ) pvParameters;\r