/* Main application function. 
Start the sensor task then start the scheduler. */
int main(void)
/* Main application function. 
Start the sensor task then start the scheduler. */
int main(void)
{
	system_init();
	configure_console();
	delay_init();
	if (SysTick_Config(system_cpu_clock_get_hz() / 1000)) {
		puts("main: SysTick configuration error!");
		while (1);
	}
	puts(STRING_HEADER);
	demo_start();
	return 0;
}