mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-17 19:13:03 +08:00
add __real_SysTick_handler in platform.c
This commit is contained in:
parent
7c9aa25a3d
commit
7983a05245
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user