From a04a56c0e7a657925b42e8f3e36035a357e5ed5e Mon Sep 17 00:00:00 2001 From: Bryan Mayland Date: Tue, 28 Sep 2021 15:00:37 -0400 Subject: [PATCH] Reduce USB polling interval for joystick mode from 10ms to 1ms --- radio/src/targets/common/arm/stm32/usbd_hid_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/targets/common/arm/stm32/usbd_hid_joystick.c b/radio/src/targets/common/arm/stm32/usbd_hid_joystick.c index cb39170aa..1b194d650 100644 --- a/radio/src/targets/common/arm/stm32/usbd_hid_joystick.c +++ b/radio/src/targets/common/arm/stm32/usbd_hid_joystick.c @@ -236,7 +236,7 @@ __ALIGN_BEGIN static const uint8_t USBD_HID_CfgDesc[USB_HID_CONFIG_DESC_SIZ] __A 0x03, /*bmAttributes: Interrupt endpoint*/ HID_IN_PACKET, /*wMaxPacketSize: 4 Byte max */ 0x00, - 0x0A, /*bInterval: Polling Interval (10 ms)*/ + 0x01, /*bInterval: Polling Interval (1 ms)*/ /* 34 */ } ;