diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-05-30 16:25:12 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-05-30 16:25:12 +0000 |
commit | 870e217aa848fb5fc62745d3b73e01813ea49fb2 (patch) | |
tree | e640dd16f4f59838517a7574eae9b54186ca5c8f | |
parent | fixed CS Port Dir (diff) |
cleanup
git-svn-id: https://svn.spreadspace.org/avr/trunk@51 aa12f405-d877-488e-9caf-2d797e2a1cc7
-rw-r--r-- | usb-serial/usb-serial.c | 5 |
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();
|