[usb][usbtest] Fix compile error in USB test app (missing parameter).
Endpoint type was added to USBC (interrupt, bulk, isoc, etc) but usbtest app was not updated to reflect this.
This commit is contained in:
@@ -103,6 +103,6 @@ void usbtest_usb_setup(void)
|
||||
printf("appending interfaces\n");
|
||||
usb_append_interface_lowspeed(if_descriptor_lowspeed, sizeof(if_descriptor_lowspeed));
|
||||
usb_append_interface_highspeed(if_descriptor_lowspeed, sizeof(if_descriptor_lowspeed));
|
||||
usbc_setup_endpoint(1, USB_OUT, 64);
|
||||
usbc_setup_endpoint(1, USB_IN, 64);
|
||||
usbc_setup_endpoint(1, USB_OUT, 64, USB_BULK);
|
||||
usbc_setup_endpoint(1, USB_IN, 64, USB_BULK);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <trace.h>
|
||||
#include <dev/usb.h>
|
||||
#include <dev/usbc.h>
|
||||
#include <kernel/debug.h>
|
||||
|
||||
Reference in New Issue
Block a user