This commit is contained in:
pvvx 2017-05-09 18:55:34 +03:00
parent b882fe7efb
commit 9a5b92c3d1
8 changed files with 5 additions and 4 deletions

View file

@ -2248,11 +2248,11 @@ TickType_t xTaskGetTickCount( void )
TickType_t xTicks;
/* Critical section required if running on a 16 bit processor. */
portTICK_TYPE_ENTER_CRITICAL();
// portTICK_TYPE_ENTER_CRITICAL();
{
xTicks = xTickCount;
}
portTICK_TYPE_EXIT_CRITICAL();
// portTICK_TYPE_EXIT_CRITICAL();
return xTicks;
}