feat: derive defmt::Format for more structs and errors
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
parent
1b2ba0bfab
commit
c3f79c96ed
12 changed files with 40 additions and 6 deletions
|
|
@ -1,6 +1,8 @@
|
|||
use crate::{bus::Bus, register, socket::Socket, uninitialized_device::InitializeError};
|
||||
|
||||
/// The W5500 operating in MACRAW mode to send and receive ethernet frames.
|
||||
#[derive(Debug)]
|
||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||
pub struct RawDevice<SpiBus: Bus> {
|
||||
bus: SpiBus,
|
||||
raw_socket: Socket,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue