static void sigalarm_handler(int) { if(timer_proc != NULL) timer_proc(); }
/** * System tick handler interrupt routine */ void SysTick_Handler (void) { msTick++; tickFlag = 1; timer_proc(); }