File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ configuration register. */
103
103
#define portNVIC_SYSTICK_CLK_BIT_SETTING ( portNVIC_SYSTICK_CLK_BIT )
104
104
#else
105
105
/* Select the option to clock SysTick not at the same frequency as the core.
106
- The clock used is often a divided version of the core clock. */
106
+ The clock used is often a divided version of the core clock. */
107
107
#define portNVIC_SYSTICK_CLK_BIT_SETTING ( 0 )
108
108
#endif
109
109
@@ -680,7 +680,7 @@ void xPortSysTickHandler( void )
680
680
portNVIC_SYSTICK_CTRL_REG = portNVIC_SYSTICK_CLK_BIT | portNVIC_SYSTICK_INT_BIT | portNVIC_SYSTICK_ENABLE_BIT ;
681
681
#if ( portNVIC_SYSTICK_CLK_BIT_SETTING != portNVIC_SYSTICK_CLK_BIT )
682
682
{
683
- portNVIC_SYSTICK_LOAD_REG = portNVIC_SYSTICK_CLK_BIT_SETTING | portNVIC_SYSTICK_INT_BIT | portNVIC_SYSTICK_ENABLE_BIT ;
683
+ portNVIC_SYSTICK_CTRL_REG = portNVIC_SYSTICK_CLK_BIT_SETTING | portNVIC_SYSTICK_INT_BIT | portNVIC_SYSTICK_ENABLE_BIT ;
684
684
}
685
685
#endif /* portNVIC_SYSTICK_CLK_BIT_SETTING */
686
686
portNVIC_SYSTICK_LOAD_REG = ulTimerCountsForOneTick - 1UL ;
You can’t perform that action at this time.
0 commit comments