Explorar el Código

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

Johannes Draaijer hace 2 años
padre
commit
d5b4cbfbee
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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,