From 02063d1c75e392f2de0d15963224da4462ad5766 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Tue, 25 Jul 2023 16:16:33 +0300 Subject: [PATCH] chore: PR review comments Signed-off-by: Lachezar Lechev --- src/register.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/register.rs b/src/register.rs index c9074ac..cf59cf4 100644 --- a/src/register.rs +++ b/src/register.rs @@ -171,7 +171,6 @@ pub mod socketn { /// Socket n Command Register /// /// `Sn_CR` - // pub const COMMAND: u16 = 0b0001; pub const COMMAND: u16 = 0x01; /// Socket n Commands @@ -251,9 +250,8 @@ pub mod socketn { /// > When Disconnect-process is successfully completed, or /// > when timeout occurs, these change to SOCK_CLOSED. /// - #[repr(u8)] #[derive(TryFromPrimitive, Debug, Copy, Clone, PartialEq, Eq)] - // #[cfg_attr(feature = "defmt", derive(defmt::Format))] + #[repr(u8)] pub enum Status { Closed = 0x00, Init = 0x13,