From c6e893e1e569411f13ca7d0e592b64226f405d1c Mon Sep 17 00:00:00 2001 From: Stacey Sheldon Date: Fri, 22 Feb 2013 22:03:47 -0800 Subject: [PATCH] usb: fix interfaces in USB HW defs for OSD --- flight/targets/boards/osd/board_hw_defs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flight/targets/boards/osd/board_hw_defs.c b/flight/targets/boards/osd/board_hw_defs.c index 7b433a030..af096fd09 100644 --- a/flight/targets/boards/osd/board_hw_defs.c +++ b/flight/targets/boards/osd/board_hw_defs.c @@ -522,7 +522,7 @@ static const struct pios_usb_cfg pios_usb_main_cfg = { #include const struct pios_usb_hid_cfg pios_usb_hid_cfg = { - .data_if = 0, + .data_if = 2, .data_rx_ep = 1, .data_tx_ep = 1, }; @@ -532,10 +532,10 @@ const struct pios_usb_hid_cfg pios_usb_hid_cfg = { #include const struct pios_usb_cdc_cfg pios_usb_cdc_cfg = { - .ctrl_if = 1, + .ctrl_if = 0, .ctrl_tx_ep = 2, - .data_if = 2, + .data_if = 1, .data_rx_ep = 3, .data_tx_ep = 3, };