Skip to content

Commit 2241851

Browse files
mctp-estack: add missing defmt derive for CompletionCode
Signed-off-by: Joseph Glanville <[email protected]>
1 parent 1e78d16 commit 2241851

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mctp-estack/src/control.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub type ControlResult<T> = core::result::Result<T, CompletionCode>;
1919

2020
/// MCTP control message completion code.
2121
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash, PartialOrd, Ord)]
22+
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
2223
#[allow(missing_docs)]
2324
#[expect(non_camel_case_types)]
2425
pub enum CompletionCode {

0 commit comments

Comments
 (0)