diff --git a/usb/device/USBDevice/USBDevice.h b/usb/device/USBDevice/USBDevice.h index a1b491574b..40051ce9c0 100644 --- a/usb/device/USBDevice/USBDevice.h +++ b/usb/device/USBDevice/USBDevice.h @@ -267,10 +267,7 @@ public: * @param index descriptor index * @returns pointer to the configuration descriptor */ - virtual const uint8_t *configuration_desc(uint8_t index) - { - return NULL; - }; + virtual const uint8_t *configuration_desc(uint8_t index) = 0; /* * Get string lang id descriptor