chore: PR review comments

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
Lachezar Lechev 2023-07-25 16:16:33 +03:00
commit 02063d1c75
No known key found for this signature in database
GPG key ID: B2D641D6A2C8E742

View file

@ -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,