summaryrefslogtreecommitdiff
path: root/usb-serial
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-05-30 16:25:12 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-05-30 16:25:12 +0000
commit870e217aa848fb5fc62745d3b73e01813ea49fb2 (patch)
treee640dd16f4f59838517a7574eae9b54186ca5c8f /usb-serial
parentfixed CS Port Dir (diff)
cleanup
git-svn-id: https://svn.spreadspace.org/avr/trunk@51 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'usb-serial')
-rw-r--r--usb-serial/usb-serial.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usb-serial/usb-serial.c b/usb-serial/usb-serial.c
index f9c3afc..8b524f4 100644
--- a/usb-serial/usb-serial.c
+++ b/usb-serial/usb-serial.c
@@ -208,10 +208,7 @@ void EVENT_USB_Device_Disconnect(void)
/** Event handler for the library USB Configuration Changed event. */
void EVENT_USB_Device_ConfigurationChanged(void)
{
- bool ConfigSuccess = true;
-
- ConfigSuccess &= CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
-
+ CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
led_toggle();
_delay_ms(10);
led_toggle();