usb: set default max_packet_size_0 to 64.

Supported chips can always do 64 bytes, 8 bytes seems to be more rare.
We can add a way for the driver to specify the default in the future.
This commit is contained in:
Dario Nieuwenhuis 2022-05-31 02:01:22 +02:00
parent a7383840e7
commit 39ab599eed

View File

@ -104,7 +104,7 @@ impl<'a> Config<'a> {
device_class: 0x00,
device_sub_class: 0x00,
device_protocol: 0x00,
max_packet_size_0: 8,
max_packet_size_0: 64,
vendor_id: vid,
product_id: pid,
device_release: 0x0010,