diff options
| author | Raul Alimbekov <[email protected]> | 2025-12-16 09:05:22 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-16 09:05:22 +0300 |
| commit | c9a04b4b732b7a3b696eb8223664c1a7942b1875 (patch) | |
| tree | 6dbe5c02e66eed8d8762f13f95afd24f8db2b38c /embassy-usb-dfu/src/application.rs | |
| parent | cde24a3ef1117653ba5ed4184102b33f745782fb (diff) | |
| parent | 5ae6e060ec1c90561719aabdc29d5b6e7b8b0a82 (diff) | |
Merge branch 'main' into main
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 | /// |
