freertos: Fix when using USB

This commit is contained in:
Daniel Fekete 2017-06-05 19:04:40 +02:00
parent 25e024cb1e
commit 4166c778ca
1 changed files with 2 additions and 0 deletions

View File

@ -2498,6 +2498,8 @@ implementations require configUSE_TICKLESS_IDLE to be set to a value other than
BaseType_t xTaskIncrementTick( void )
{
if (xSchedulerRunning == pdFALSE) return pdFALSE;
TCB_t * pxTCB;
TickType_t xItemValue;
BaseType_t xSwitchRequired = pdFALSE;