diff options
Diffstat (limited to 'embassy-usb-dfu/src/application.rs')
| -rw-r--r-- | embassy-usb-dfu/src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-usb-dfu/src/application.rs b/embassy-usb-dfu/src/application.rs index 78eb2c083..1ea1a74fe 100644 --- a/embassy-usb-dfu/src/application.rs +++ b/embassy-usb-dfu/src/application.rs | |||
| @@ -6,11 +6,11 @@ use embassy_usb::driver::Driver; | |||
| 6 | use embassy_usb::{Builder, FunctionBuilder, Handler}; | 6 | use embassy_usb::{Builder, FunctionBuilder, Handler}; |
| 7 | use embedded_storage::nor_flash::NorFlash; | 7 | use embedded_storage::nor_flash::NorFlash; |
| 8 | 8 | ||
| 9 | use crate::Reset; | ||
| 9 | use crate::consts::{ | 10 | use crate::consts::{ |
| 10 | DfuAttributes, Request, State, Status, APPN_SPEC_SUBCLASS_DFU, DESC_DFU_FUNCTIONAL, DFU_PROTOCOL_RT, | 11 | APPN_SPEC_SUBCLASS_DFU, DESC_DFU_FUNCTIONAL, DFU_PROTOCOL_RT, DfuAttributes, Request, State, Status, |
| 11 | USB_CLASS_APPN_SPEC, | 12 | USB_CLASS_APPN_SPEC, |
| 12 | }; | 13 | }; |
| 13 | use crate::Reset; | ||
| 14 | 14 | ||
| 15 | /// Generic interface for a system that can signal to the bootloader that USB DFU mode is needed on the next boot. | 15 | /// Generic interface for a system that can signal to the bootloader that USB DFU mode is needed on the next boot. |
| 16 | /// | 16 | /// |
