From fd6105655e28ffff414bf2e6330560ce6b8208c4 Mon Sep 17 00:00:00 2001 From: skhrlx <85849948+skhrlx@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:58:35 -0300 Subject: [PATCH] Update USB.cpp Removed delay permitting higher polling rate mouses --- cores/arduino/usb/USB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/arduino/usb/USB.cpp b/cores/arduino/usb/USB.cpp index bf6144cf8..f27e2fd5a 100644 --- a/cores/arduino/usb/USB.cpp +++ b/cores/arduino/usb/USB.cpp @@ -140,7 +140,7 @@ void __SetupUSBDescriptor() { uint8_t hid_itf = __USBInstallSerial ? 3 : 0; uint8_t hid_desc[TUD_HID_DESC_LEN] = { // Interface number, string index, protocol, report descriptor len, EP In & Out address, size & polling interval - TUD_HID_DESCRIPTOR(hid_itf, 0, HID_ITF_PROTOCOL_NONE, hid_report_len, USBD_HID_EP, CFG_TUD_HID_EP_BUFSIZE, 10) + TUD_HID_DESCRIPTOR(hid_itf, 0, HID_ITF_PROTOCOL_NONE, hid_report_len, USBD_HID_EP, CFG_TUD_HID_EP_BUFSIZE, 0) }; /* @@ -455,4 +455,4 @@ extern "C" __attribute((weak)) int32_t tud_msc_scsi_cb (uint8_t lun, uint8_t c (void) buffer; (void) bufsize; return -1; -} \ No newline at end of file +}