static usb_host_device_h dev = NULL;
static usb_host_config_h cfg = NULL;
static usb_host_interface_h iface = NULL;
-static usb_host_endpoint_h ep1 = NULL;
-static usb_host_endpoint_h ep2 = NULL;
-static usb_host_endpoint_h ep3 = NULL;
-static usb_host_endpoint_h ep4 = NULL;
+static usb_host_endpoint_h ep1 = NULL; /**< Bulk in */
+static usb_host_endpoint_h ep2 = NULL; /**< Bulk out */
+static usb_host_endpoint_h ep3 = NULL; /**< Interrupt in */
+static usb_host_endpoint_h ep4 = NULL; /**< Interrupt out */
static usb_host_transfer_h transfer1 = NULL;
static usb_host_transfer_h transfer_control = NULL;
static unsigned char transfer_buffer[sizeof(TEST_DATA)];
*/
int utc_usb_host_interrupt_transfer_p(void)
{
- return test_loopback_transfer(ep1, ep2);
+ return test_loopback_transfer(ep3, ep4);
}
/**
*/
int utc_usb_host_transfer_p(void)
{
- return test_loopback_transfer(ep3, ep4);
+ return test_loopback_transfer(ep1, ep2);
}
/**