From 8236bf8e19426f4983bf6f70a8beb66f9045a9c8 Mon Sep 17 00:00:00 2001 From: zedamota Date: Fri, 28 Jan 2011 21:02:48 +0000 Subject: [PATCH] CC-13 CopterControl bootloader - don't know if this fixes it, please try it. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2614 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/Bootloaders/CopterControl/pios_board.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/flight/Bootloaders/CopterControl/pios_board.c b/flight/Bootloaders/CopterControl/pios_board.c index 7a08e9c21..71bad2daf 100644 --- a/flight/Bootloaders/CopterControl/pios_board.c +++ b/flight/Bootloaders/CopterControl/pios_board.c @@ -325,14 +325,9 @@ extern const struct pios_com_driver pios_usart_com_driver; #endif struct pios_com_dev pios_com_devs[] = { { .id = 0, - .driver = &pios_usb_com_driver, }, -#if defined(PIOS_INCLUDE_USB_HID) - { - .id = 0, - .driver = &pios_usb_com_driver, - }, -#endif - }; + .driver = &pios_usb_com_driver, }, { .id = 0, + .driver = &pios_usb_com_driver, }, { .id = 0, + .driver = &pios_usb_com_driver, }, }; const uint8_t pios_com_num_devices = NELEMENTS(pios_com_devs);