Skip to content

Commit c4dd1ec

Browse files
committed
derive defmt::Format for cmd buf
1 parent 3fc53f8 commit c4dd1ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

embedded-command/src/command_buffer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pub mod error {
66
pub struct Overflow;
77
}
88

9+
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
910
pub struct CommandBuffer<const N: usize> {
1011
buf: [MaybeUninit<u8>; N],
1112
start_cursor: usize,

0 commit comments

Comments
 (0)