mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-17 19:13:03 +08:00
define __real_SysTick_Handler to SysTick_Handler
This commit is contained in:
parent
2ad7ab27be
commit
79bac21e33
@ -39,6 +39,7 @@ static volatile uint32_t s_wMSCounter = 0;
|
||||
SysTick / Timer0 IRQ Handler
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
void SysTick_Handler (void)
|
||||
{
|
||||
if (s_wMSCounter) {
|
||||
@ -48,6 +49,8 @@ void SysTick_Handler (void)
|
||||
systimer_1ms_handler();
|
||||
}
|
||||
|
||||
#define __real_SysTick_Handler SysTick_Handler
|
||||
|
||||
void delay_ms(uint32_t wMillisecond)
|
||||
{
|
||||
s_wMSCounter = wMillisecond;
|
||||
|
Loading…
x
Reference in New Issue
Block a user