mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Map portTICK_RATE_MS to portTICK_PERIOD_MS.
This commit is contained in:
parent
a56d4b998c
commit
1aaa80fba6
86 changed files with 114 additions and 113 deletions
|
@ -184,13 +184,13 @@ TIMECAPS xTimeCaps;
|
|||
time, not the time that Sleep() is called. It is done this way to
|
||||
prevent overruns in this very non real time simulated/emulated
|
||||
environment. */
|
||||
if( portTICK_RATE_MS < xMinimumWindowsBlockTime )
|
||||
if( portTICK_PERIOD_MS < xMinimumWindowsBlockTime )
|
||||
{
|
||||
Sleep( xMinimumWindowsBlockTime );
|
||||
}
|
||||
else
|
||||
{
|
||||
Sleep( portTICK_RATE_MS );
|
||||
Sleep( portTICK_PERIOD_MS );
|
||||
}
|
||||
|
||||
configASSERT( xPortRunning );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue