You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(defmt::Format)]structS{x:u8}let x = S{x:42};
defmt::info!("{}", x);// -> INFO S { x: 42 }
defmt::info!("{:x}", x);// -> INFO S { x: 0x2a }
But this does not work, but it probably should:
#[derive(defmt::Format)]structS{x:[u8;2]}let x = S{x:[42,255]};
defmt::info!("{}", x);// -> INFO S { x: [42, 255] }
defmt::info!("{:x}", x);// -> I expect INFO S { x: [0x2a, 0xff] } but it's the same as before
The text was updated successfully, but these errors were encountered:
The manual says you can do this, and it works:
But this does not work, but it probably should:
The text was updated successfully, but these errors were encountered: