From a54e98be62f55e1fdfb4ebe84637bd2675f21be1 Mon Sep 17 00:00:00 2001 From: Devan Lai Date: Sat, 11 Mar 2023 09:38:38 -0800 Subject: [PATCH] Use locm3-provided DFU interface class constant --- src/USB/composite_usb_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/USB/composite_usb_conf.c b/src/USB/composite_usb_conf.c index 2811286..023a6db 100644 --- a/src/USB/composite_usb_conf.c +++ b/src/USB/composite_usb_conf.c @@ -306,7 +306,7 @@ static const struct usb_interface_descriptor dfu_iface = { .bInterfaceNumber = INTF_DFU, .bAlternateSetting = 0, .bNumEndpoints = 0, - .bInterfaceClass = 0xFE, + .bInterfaceClass = USB_CLASS_DFU, .bInterfaceSubClass = 1, .bInterfaceProtocol = 1, .iInterface = STR_DFU_INTF,