usb: fix slow enumeration with EP0 max_packet_size of 8 or 16.

This commit is contained in:
Dario Nieuwenhuis
2022-04-06 03:02:13 +02:00
parent b2e517bb28
commit f6d11dfba5
2 changed files with 15 additions and 2 deletions

View File

@ -198,7 +198,7 @@ pub trait ControlHandler {
#[derive(Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub(crate) struct DataInStage {
length: usize,
pub(crate) length: usize,
}
/// Typestate representing a ControlPipe in the DATA OUT stage