1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00

usb: fix interfaces in USB HW defs for RevoMini

This commit is contained in:
Stacey Sheldon 2013-02-21 01:27:23 -08:00 committed by Alessio Morale
parent f4bed187f4
commit 207bd671ac

View File

@ -1892,7 +1892,7 @@ const struct pios_usb_cfg * PIOS_BOARD_HW_DEFS_GetUsbCfg (uint32_t board_revisio
#include <pios_usb_hid_priv.h> #include <pios_usb_hid_priv.h>
const struct pios_usb_hid_cfg pios_usb_hid_cfg = { const struct pios_usb_hid_cfg pios_usb_hid_cfg = {
.data_if = 0, .data_if = 2,
.data_rx_ep = 1, .data_rx_ep = 1,
.data_tx_ep = 1, .data_tx_ep = 1,
}; };
@ -1902,10 +1902,10 @@ const struct pios_usb_hid_cfg pios_usb_hid_cfg = {
#include <pios_usb_cdc_priv.h> #include <pios_usb_cdc_priv.h>
const struct pios_usb_cdc_cfg pios_usb_cdc_cfg = { const struct pios_usb_cdc_cfg pios_usb_cdc_cfg = {
.ctrl_if = 1, .ctrl_if = 0,
.ctrl_tx_ep = 2, .ctrl_tx_ep = 2,
.data_if = 2, .data_if = 1,
.data_rx_ep = 3, .data_rx_ep = 3,
.data_tx_ep = 3, .data_tx_ep = 3,
}; };