forked from NaxdyOrg/NaxGCC-FW
change(hid): set poll interval to 1ms by default
This commit is contained in:
parent
d39451dc2e
commit
569ae9784f
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ pub async fn usb_transfer_task(raw_serial: [u8; 8], driver: Driver<'static, USB>
|
||||||
let hid_config = embassy_usb::class::hid::Config {
|
let hid_config = embassy_usb::class::hid::Config {
|
||||||
report_descriptor: GCC_REPORT_DESCRIPTOR,
|
report_descriptor: GCC_REPORT_DESCRIPTOR,
|
||||||
request_handler: Some(&request_handler),
|
request_handler: Some(&request_handler),
|
||||||
poll_ms: 8,
|
poll_ms: 1,
|
||||||
max_packet_size_in: 37,
|
max_packet_size_in: 37,
|
||||||
max_packet_size_out: 5,
|
max_packet_size_out: 5,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue