mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Update the main Win32 MSVC demo to account for the changes to the Win32 port layer (more accurate timing).
This commit is contained in:
parent
aa9ec31ba9
commit
15d10ce094
3 changed files with 14 additions and 17 deletions
|
@ -70,11 +70,10 @@
|
|||
* application. It is provided as a convenient development and demonstration
|
||||
* test bed only. This was tested using Windows XP on a dual core laptop.
|
||||
*
|
||||
* In this example, one simulated millisecond will take approximately 40ms to
|
||||
* execute, and Windows will not be running the FreeRTOS simulator threads
|
||||
* continuously, so the timing information in the FreeRTOS+Trace logs have no
|
||||
* meaningful units. See the documentation page for the Windows simulator for
|
||||
* an explanation of the slow timing:
|
||||
* Windows will not be running the FreeRTOS simulator threads continuously, so
|
||||
* the timing information in the FreeRTOS+Trace logs have no meaningful units.
|
||||
* See the documentation page for the Windows simulator for an explanation of
|
||||
* the slow timing:
|
||||
* http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
|
||||
* - READ THE WEB DOCUMENTATION FOR THIS PORT FOR MORE INFORMATION ON USING IT -
|
||||
*
|
||||
|
@ -221,7 +220,7 @@ int main_full( void )
|
|||
static void prvCheckTask( void *pvParameters )
|
||||
{
|
||||
portTickType xNextWakeTime;
|
||||
const portTickType xCycleFrequency = 1000 / portTICK_RATE_MS;
|
||||
const portTickType xCycleFrequency = 2500 / portTICK_RATE_MS;
|
||||
|
||||
/* Just to remove compiler warning. */
|
||||
( void ) pvParameters;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue