chaabanemalki wrote on Tuesday, December 09, 2014:
Hello,
I’m using PIC 32MX, I changed xTaskGetTickCount() to :
TickType_t xTaskGetTickCount( void )
{
return xTickCount;
}
and xTaskGetTickCountFromISR( ) to
TickType_t xTaskGetTickCountFromISR( void )
{
TickType_t xReturn;
xReturn = xTickCount;
return xReturn;
}
My code doesn’t use interrupt nesting and i figure out that I can optimize this function little bit ?
Is this safe for freeRTOS.
for now, everything working just fine, with no errors.
Thank you
chaabane