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
|
|
@ -18,6 +18,7 @@ pub use embedded_nal::Ipv4Addr;
|
|||
///
|
||||
/// This is an EUI-48 MAC address (previously called MAC-48).
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Hash, Default)]
|
||||
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||
pub struct MacAddress {
|
||||
/// Octets of the MAC address.
|
||||
pub octets: [u8; 6],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue