Force the SysTick clock bit to be set in Cortex-M3 and Cortex-M4F bits if configSYSTICK_CLOCK_HZ is not defined, otherwise leave the bit as it is found as the SysTick may use a divided clock.

This commit is contained in:
Richard Barry 2013-12-15 10:27:37 +00:00
parent 040a7c02df
commit 4b2f9dad42
7 changed files with 43 additions and 13 deletions

View file

@ -749,7 +749,7 @@ xTIMER *pxTimer = ( xTIMER * ) xTimer;
void *pvTimerGetTimerID( const xTimerHandle xTimer )
{
xTIMER * const pxTimer = ( xTIMER * const ) xTimer;
xTIMER * const pxTimer = ( xTIMER * ) xTimer;
return pxTimer->pvTimerID;
}