- dummy SetInterface handling added
This commit is contained in:
parent
a0d3b6f9c2
commit
c9d8a42872
6
usb.c
6
usb.c
@ -167,6 +167,12 @@ void usbcore_process_setup_pckt(const uint8_t *data, uint16_t size, uint8_t stag
|
||||
USBDRV_ARM_IN_ZLP(0);
|
||||
break;
|
||||
}
|
||||
case UREQ_SetInterface: // SET INTERFACE
|
||||
{
|
||||
// TODO: set configuration
|
||||
USBDRV_ARM_IN_ZLP(0);
|
||||
break;
|
||||
}
|
||||
default: { // UNKNOWN REQUEST, pass processing to user application
|
||||
USB_CallbackEvent cbevt = { 0 };
|
||||
cbevt.type = USB_CBEVT_UNKNOWN_REQ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user