Skip to content

Commit d1330bd

Browse files
CapnBrypfeerick
authored andcommitted
Reduce USB polling interval for joystick mode from 10ms to 1ms
1 parent f031fe9 commit d1330bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

radio/src/targets/common/arm/stm32/usbd_hid_joystick.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ __ALIGN_BEGIN static const uint8_t USBD_HID_CfgDesc[USB_HID_CONFIG_DESC_SIZ] __A
236236
0x03, /*bmAttributes: Interrupt endpoint*/
237237
HID_IN_PACKET, /*wMaxPacketSize: 4 Byte max */
238238
0x00,
239-
0x0A, /*bInterval: Polling Interval (10 ms)*/
239+
0x01, /*bInterval: Polling Interval (1 ms)*/
240240
/* 34 */
241241
} ;
242242

0 commit comments

Comments
 (0)