feat: defmt + derive for some UDP types
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
parent
747fe0cca4
commit
f2ac8521b1
4 changed files with 8 additions and 2 deletions
|
|
@ -2,6 +2,8 @@ use crate::bus::Bus;
|
|||
use crate::register::socketn;
|
||||
use embedded_nal::Ipv4Addr;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||
pub struct Socket {
|
||||
pub index: u8,
|
||||
register: u8,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue