Commit 707dae44 authored by Petr Kocian's avatar Petr Kocian
Browse files

removed timer stopping and starting during tick

parent f9844a71
......@@ -178,12 +178,8 @@ void FreeRTOS_DynamicTick()
usInterval = usInterval - ullRemainder;
ullRemainder = 0;
/* Stop the timer */
XTtcPs_Stop( &xPortTimerTickTtcInstance );
/* Set the interval and start the timer. */
/* Set the interval */
XTtcPs_SetInterval( &xPortTimerTickTtcInstance, usInterval );
XTtcPs_Start( &xPortTimerTickTtcInstance );
}
/*-----------------------------------------------------------*/
#endif /* (ENABLE_DynamicTick == 1) */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment