mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 00:37:44 -04:00
Update libraries and sundry check-ins ready for the V10.3.0 kernel release.
This commit is contained in:
parent
d319bb0c71
commit
7bea399061
52 changed files with 359 additions and 359 deletions
|
@ -971,8 +971,10 @@ BaseType_t xErrorDetected = pdFALSE;
|
|||
else if( xTriggerLevel < xReadBlockTime )
|
||||
{
|
||||
/* Trigger level was less than the block time so we expect to
|
||||
have received the trigger level number of bytes. */
|
||||
if( ( xTriggerLevel - xBytesReceived ) > xAllowableMargin )
|
||||
have received the trigger level number of bytes - could be more
|
||||
though depending on other activity between the task being
|
||||
unblocked and the task reading the number of bytes received. */
|
||||
if( ( xBytesReceived - xTriggerLevel ) > xAllowableMargin )
|
||||
{
|
||||
xErrorDetected = pdTRUE;
|
||||
}
|
||||
|
@ -983,7 +985,7 @@ BaseType_t xErrorDetected = pdFALSE;
|
|||
receive no greater than the block time, but one or two less is
|
||||
ok due to variations in how far through the time slice the
|
||||
functions get executed. */
|
||||
if( xBytesReceived > xReadBlockTime )
|
||||
if( ( xBytesReceived - xReadBlockTime ) > xAllowableMargin )
|
||||
{
|
||||
xErrorDetected = pdTRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue