File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
bsp/stm32/libraries/HAL_Drivers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ MSH_CMD_EXPORT(reboot, Reboot System);
2929#endif /* RT_USING_FINSH */
3030
3131extern __IO uint32_t uwTick ;
32- static uint32_t sysTickMillisecond = 1 ;
32+ static uint32_t _systick_ms = 1 ;
3333
3434/* SysTick configuration */
3535void rt_hw_systick_init (void )
@@ -38,9 +38,9 @@ void rt_hw_systick_init(void)
3838
3939 NVIC_SetPriority (SysTick_IRQn , 0xFF );
4040
41- sysTickMillisecond = 1000u / RT_TICK_PER_SECOND ;
42- if (sysTickMillisecond == 0 )
43- sysTickMillisecond = 1 ;
41+ _systick_ms = 1000u / RT_TICK_PER_SECOND ;
42+ if (_systick_ms == 0 )
43+ _systick_ms = 1 ;
4444}
4545
4646/**
@@ -71,7 +71,7 @@ uint32_t HAL_GetTick(void)
7171
7272void HAL_IncTick (void )
7373{
74- uwTick += sysTickMillisecond ;
74+ uwTick += _systick_ms ;
7575}
7676
7777void HAL_SuspendTick (void )
You can’t perform that action at this time.
0 commit comments