V2.31
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
/* Global Variable */
|
||||
uint32_t time=0;
|
||||
volatile uint32_t time=0;
|
||||
|
||||
void SysTick_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||
|
||||
@@ -34,8 +34,8 @@ void SysTick_Handler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
|
||||
*/
|
||||
void Interrupt_VTF_Init(void)
|
||||
{
|
||||
NVIC_EnableIRQ(SysTicK_IRQn);
|
||||
SetVTFIRQ((u32)SysTick_Handler,SysTicK_IRQn,0,ENABLE);
|
||||
NVIC_EnableIRQ(SysTicK_IRQn);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
||||
Reference in New Issue
Block a user