mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
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:
parent
040a7c02df
commit
4b2f9dad42
7 changed files with 43 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue