From 98a50871fb357f5b16ec2201bcbae660ad1e6b5d Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Thu, 19 Jan 2012 21:31:51 -0500 Subject: stripped all LUFA LED control. from LUFA-based Caterina --- bootloaders/caterina_LUFA/Caterina.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'bootloaders/caterina_LUFA/Caterina.c') diff --git a/bootloaders/caterina_LUFA/Caterina.c b/bootloaders/caterina_LUFA/Caterina.c index da7e7ba..dba00e3 100755 --- a/bootloaders/caterina_LUFA/Caterina.c +++ b/bootloaders/caterina_LUFA/Caterina.c @@ -66,9 +66,6 @@ int main(void) /* Setup hardware required for the bootloader */ SetupHardware(); - /* Turn on first LED on the board to indicate that the bootloader has started */ - LEDs_SetAllLEDs(LEDS_LED1); - /* Enable global interrupts so that the USB stack can function */ sei(); @@ -103,7 +100,6 @@ void SetupHardware(void) /* Initialize USB Subsystem */ USB_Init(); - LEDs_Init(); /* Bootloader active LED toggle timer initialization */ TIMSK1 = (1 << TOIE1); @@ -113,7 +109,7 @@ void SetupHardware(void) /** ISR to periodically toggle the LEDs on the board to indicate that the bootloader is active. */ ISR(TIMER1_OVF_vect, ISR_BLOCK) { - LEDs_ToggleLEDs(LEDS_LED1 | LEDS_LED2); + } /** Event handler for the USB_ConfigurationChanged event. This configures the device's endpoints ready @@ -148,9 +144,6 @@ void EVENT_USB_Device_ControlRequest(void) return; } - /* Activity - toggle indicator LEDs */ - LEDs_ToggleLEDs(LEDS_LED1 | LEDS_LED2); - /* Process CDC specific control requests */ switch (USB_ControlRequest.bRequest) { -- cgit v1.2.3-18-g5258