We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae15ea commit 6aa8ab2Copy full SHA for 6aa8ab2
libraries/drivers/drv_common.c
@@ -29,7 +29,7 @@ void rt_hw_systick_init(void)
29
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq() / RT_TICK_PER_SECOND);
30
#endif
31
HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);
32
- HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0);
+ NVIC_SetPriority(SysTick_IRQn, 0xFF);
33
}
34
35
/**
@@ -63,6 +63,7 @@ void HAL_ResumeTick(void)
63
64
void HAL_Delay(__IO uint32_t Delay)
65
{
66
+ rt_thread_mdelay(Delay);
67
68
69
/* re-implement tick interface for STM32 HAL */
0 commit comments