/* Configures the board hardware and chip peripherals for the demo's functionality.  */
static void SetupHardware(void)
/* Configures the board hardware and chip peripherals for the demo's functionality.  */
static void SetupHardware(void)
{
	MCUSR &= ~(1 << WDRF);
	wdt_disable();
	clock_prescale_set(clock_div_1);
	MCUCR = (1 << IVCE);
	MCUCR = (1 << IVSEL);
	LEDs_Init();
	USB_Init();
	TIMSK1 = (1 << TOIE1);
	TCCR1B = ((1 << CS11) | (1 << CS10));
}