From 8c996b5bc6cde3ab6119c6b1277ac8fc2698bef1 Mon Sep 17 00:00:00 2001 From: Totoo Date: Sat, 27 Jan 2024 19:33:08 +0100 Subject: [PATCH] Embedded friendly usb (#1817) --- firmware/application/usb_serial_descriptor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/usb_serial_descriptor.c b/firmware/application/usb_serial_descriptor.c index aff13e58b..3b7dd96b4 100644 --- a/firmware/application/usb_serial_descriptor.c +++ b/firmware/application/usb_serial_descriptor.c @@ -118,7 +118,7 @@ uint8_t usb_descriptor_configuration_full_speed[] = { USB_INT_IN_EP_ADDR, // bEndpointAddress 0x03, // bmAttributes: BULK USB_WORD(16), // wMaxPacketSize - 0xFF, // bInterval: no NAK + 0x20, // bInterval: no NAK 9, // bLength USB_DESCRIPTOR_TYPE_INTERFACE, // bDescriptorType @@ -203,7 +203,7 @@ uint8_t usb_descriptor_configuration_high_speed[] = { USB_INT_IN_EP_ADDR, // bEndpointAddress 0x03, // bmAttributes: BULK USB_WORD(16), // wMaxPacketSize - 0xFF, // bInterval: no NAK + 0x20, // bInterval: no NAK 9, // bLength USB_DESCRIPTOR_TYPE_INTERFACE, // bDescriptorType