|
|
@ -1744,7 +1744,7 @@ portBASE_TYPE xReturn;
|
|
|
|
passed since vTaskSetTimeout() was called. */
|
|
|
|
passed since vTaskSetTimeout() was called. */
|
|
|
|
xReturn = pdTRUE;
|
|
|
|
xReturn = pdTRUE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if( ( ( portTickType ) xTickCount - ( portTickType ) pxTimeOut->xTimeOnEntering ) < ( portTickType ) *pxTicksToWait )
|
|
|
|
else if( ( ( portTickType ) ( ( portTickType ) xTickCount - ( portTickType ) pxTimeOut->xTimeOnEntering ) ) < ( portTickType ) *pxTicksToWait )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* Not a genuine timeout. Adjust parameters for time remaining. */
|
|
|
|
/* Not a genuine timeout. Adjust parameters for time remaining. */
|
|
|
|
*pxTicksToWait -= ( ( portTickType ) xTickCount - ( portTickType ) pxTimeOut->xTimeOnEntering );
|
|
|
|
*pxTicksToWait -= ( ( portTickType ) xTickCount - ( portTickType ) pxTimeOut->xTimeOnEntering );
|
|
|
|