diff --git a/usb.c b/usb.c index c0e090c..b80573d 100644 --- a/usb.c +++ b/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;