aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsawyer bristol <[email protected]>2024-12-02 16:03:38 -0700
committersawyer bristol <[email protected]>2024-12-02 16:03:38 -0700
commit180d816e00a9575da95682782da25409eb7deb68 (patch)
tree783d308d313a18365efa701d9829ee26c493a535
parent4d9ee16f3c25241337a4ec730ed3079f7ded19bc (diff)
add fmt
-rw-r--r--embassy-usb/src/builder.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-usb/src/builder.rs b/embassy-usb/src/builder.rs
index 8d6d06a6b..9e5aa0574 100644
--- a/embassy-usb/src/builder.rs
+++ b/embassy-usb/src/builder.rs
@@ -8,6 +8,8 @@ use crate::types::{InterfaceNumber, StringIndex};
8use crate::{Handler, Interface, UsbDevice, MAX_INTERFACE_COUNT, STRING_INDEX_CUSTOM_START}; 8use crate::{Handler, Interface, UsbDevice, MAX_INTERFACE_COUNT, STRING_INDEX_CUSTOM_START};
9 9
10#[derive(Debug, Copy, Clone)] 10#[derive(Debug, Copy, Clone)]
11#[cfg_attr(feature = "defmt", derive(defmt::Format))]
12#[non_exhaustive]
11/// Allows Configuring the Bcd USB version below 2.1 13/// Allows Configuring the Bcd USB version below 2.1
12pub enum BcdUsbVersion { 14pub enum BcdUsbVersion {
13 Two = 0x0200, 15 Two = 0x0200,