/* Resets all configured hardware required for the bootloader back to their original states.  */
static void ResetHardware(void)
/* Resets all configured hardware required for the bootloader back to their original states.  */
static void ResetHardware(void)
{
	USB_Disable();
	LEDs_Disable();
	TIMSK1 = 0;
	TCCR1B = 0;
	MCUCR = (1 << IVCE);
	MCUCR = 0;
}