diff options
| author | Patrick Gansterer <[email protected]> | 2025-09-01 18:07:31 +0200 |
|---|---|---|
| committer | Patrick Gansterer <[email protected]> | 2025-09-01 18:07:31 +0200 |
| commit | c00efd485c0d422188badddde13613ea50668080 (patch) | |
| tree | 120f2e9bfae688960294805a153f412b0dde0913 /embassy-usb-dfu/src/application.rs | |
| parent | de33d113a5fb70ca5086058cc894a2ce192c27d6 (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.rs | 1 |
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 | ||
| 1 | use embassy_boot::BlockingFirmwareState; | 2 | use embassy_boot::BlockingFirmwareState; |
| 2 | use embassy_time::{Duration, Instant}; | 3 | use embassy_time::{Duration, Instant}; |
| 3 | use embassy_usb::control::{InResponse, OutResponse, Recipient, RequestType}; | 4 | use embassy_usb::control::{InResponse, OutResponse, Recipient, RequestType}; |
