mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
03a87add15
Fix the comment about the default value: this defaults to 64 rather than 8 bytes. It seems like the max packet size for endpoint 0 should normally be selected automatically, rather than being part of the config. At best it seems like this setting should just be a hint that gets used if when the bus is operating at full speed. The contents of the device descriptor should ideally be updated with the correct max packet size after bus enumeration completes. In practice always using 64 is probably fine if low speed environments never need to be supported. (Super speed requires a max packet size of 512 bytes, which I didn't list in the comments here.) |
||
---|---|---|
.. | ||
class | ||
builder.rs | ||
control.rs | ||
descriptor_reader.rs | ||
descriptor.rs | ||
fmt.rs | ||
lib.rs | ||
msos.rs | ||
types.rs |