aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/src/application.rs
diff options
context:
space:
mode:
authorPatrick Gansterer <[email protected]>2025-09-01 18:07:31 +0200
committerPatrick Gansterer <[email protected]>2025-09-01 18:07:31 +0200
commitc00efd485c0d422188badddde13613ea50668080 (patch)
tree120f2e9bfae688960294805a153f412b0dde0913 /embassy-usb-dfu/src/application.rs
parentde33d113a5fb70ca5086058cc894a2ce192c27d6 (diff)
embassy-dfu-usb: Allow `application` and `dfu` feature at the same time
Since there is no technical reason to disallow the use of both features at the same time, remove the artifical contraint to give developers more freedom with their implementations.
Diffstat (limited to 'embassy-usb-dfu/src/application.rs')
-rw-r--r--embassy-usb-dfu/src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-usb-dfu/src/application.rs b/embassy-usb-dfu/src/application.rs
index 4b7b72073..78eb2c083 100644
--- a/embassy-usb-dfu/src/application.rs
+++ b/embassy-usb-dfu/src/application.rs
@@ -1,3 +1,4 @@
1//! Application part of DFU logic
1use embassy_boot::BlockingFirmwareState; 2use embassy_boot::BlockingFirmwareState;
2use embassy_time::{Duration, Instant}; 3use embassy_time::{Duration, Instant};
3use embassy_usb::control::{InResponse, OutResponse, Recipient, RequestType}; 4use embassy_usb::control::{InResponse, OutResponse, Recipient, RequestType};