Skip to content

Commit

Permalink
Reduce USB polling interval for joystick mode from 10ms to 1ms
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry authored and pfeerick committed Oct 6, 2021
1 parent f031fe9 commit d1330bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/targets/common/arm/stm32/usbd_hid_joystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
} ;

Expand Down

0 comments on commit d1330bd

Please sign in to comment.