소스 검색

AssemblerState now derives defmt::Format, allowing `net_debug` to print it

Johannes Draaijer 2 년 전
부모
커밋
d5b4cbfbee
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/iface/fragmentation.rs

+ 1 - 0
src/iface/fragmentation.rs

@@ -17,6 +17,7 @@ pub struct PacketAssembler<'a> {
 }
 
 /// Holds the state of the assembling of one packet.
+#[cfg_attr(feature = "defmt", derive(defmt::Format))]
 #[derive(Debug, PartialEq)]
 enum AssemblerState {
     NotInit,