aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/src/application.rs
diff options
context:
space:
mode:
authorRaul Alimbekov <[email protected]>2025-12-16 09:05:22 +0300
committerGitHub <[email protected]>2025-12-16 09:05:22 +0300
commitc9a04b4b732b7a3b696eb8223664c1a7942b1875 (patch)
tree6dbe5c02e66eed8d8762f13f95afd24f8db2b38c /embassy-usb-dfu/src/application.rs
parentcde24a3ef1117653ba5ed4184102b33f745782fb (diff)
parent5ae6e060ec1c90561719aabdc29d5b6e7b8b0a82 (diff)
Merge branch 'main' into main
Diffstat (limited to 'embassy-usb-dfu/src/application.rs')
-rw-r--r--embassy-usb-dfu/src/application.rs4
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;
6use embassy_usb::{Builder, FunctionBuilder, Handler}; 6use embassy_usb::{Builder, FunctionBuilder, Handler};
7use embedded_storage::nor_flash::NorFlash; 7use embedded_storage::nor_flash::NorFlash;
8 8
9use crate::Reset;
9use crate::consts::{ 10use 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};
13use 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///