/* ### main * * Call initialization functions and start polling. * * Once the polling timer is enabled, the `main` function spins * forever. This is normal, as all the work is done in the interrupt * handler called every time the timer fires. */ int main(void) { init(); poll_timer_enable(); //Turn interrupt polling on for(;;); }
int main(void) { init(); poll_timer_enable(); for(ever); }