add __real_SysTick_handler in platform.c

This commit is contained in:
lyon 2022-01-03 17:44:35 +08:00
parent 7c9aa25a3d
commit 7983a05245

View File

@ -39,7 +39,6 @@ static volatile uint32_t s_wMSCounter = 0;
SysTick / Timer0 IRQ Handler
*----------------------------------------------------------------------------*/
void SysTick_Handler (void)
{
if (s_wMSCounter) {
@ -49,6 +48,11 @@ void SysTick_Handler (void)
systimer_1ms_handler();
}
void __real_SysTick_Handler (void)
{
SysTick_Handler();
}
void delay_ms(uint32_t wMillisecond)
{
s_wMSCounter = wMillisecond;