diff options
Diffstat (limited to 'embassy-usb/src/class/web_usb.rs')
| -rw-r--r-- | embassy-usb/src/class/web_usb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-usb/src/class/web_usb.rs b/embassy-usb/src/class/web_usb.rs index 10ebf318d..405944f14 100644 --- a/embassy-usb/src/class/web_usb.rs +++ b/embassy-usb/src/class/web_usb.rs | |||
| @@ -140,7 +140,7 @@ pub struct WebUsb<'d, D: Driver<'d>> { | |||
| 140 | impl<'d, D: Driver<'d>> WebUsb<'d, D> { | 140 | impl<'d, D: Driver<'d>> WebUsb<'d, D> { |
| 141 | /// Builder for the WebUSB capability implementation. | 141 | /// Builder for the WebUSB capability implementation. |
| 142 | /// | 142 | /// |
| 143 | /// Pass in a USB `Builder`, a `State`, which holds the the control endpoint state, and a `Config` for the WebUSB configuration. | 143 | /// Pass in a USB `Builder`, a `State`, which holds the control endpoint state, and a `Config` for the WebUSB configuration. |
| 144 | pub fn configure(builder: &mut Builder<'d, D>, state: &'d mut State<'d>, config: &'d Config<'d>) { | 144 | pub fn configure(builder: &mut Builder<'d, D>, state: &'d mut State<'d>, config: &'d Config<'d>) { |
| 145 | let mut func = builder.function(USB_CLASS_VENDOR, USB_SUBCLASS_NONE, USB_PROTOCOL_NONE); | 145 | let mut func = builder.function(USB_CLASS_VENDOR, USB_SUBCLASS_NONE, USB_PROTOCOL_NONE); |
| 146 | let mut iface = func.interface(); | 146 | let mut iface = func.interface(); |
