chore: PR review comments
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
parent
f1c6a7a97b
commit
02063d1c75
1 changed files with 1 additions and 3 deletions
|
|
@ -171,7 +171,6 @@ pub mod socketn {
|
||||||
/// Socket n Command Register
|
/// Socket n Command Register
|
||||||
///
|
///
|
||||||
/// `Sn_CR`
|
/// `Sn_CR`
|
||||||
// pub const COMMAND: u16 = 0b0001;
|
|
||||||
pub const COMMAND: u16 = 0x01;
|
pub const COMMAND: u16 = 0x01;
|
||||||
|
|
||||||
/// Socket n Commands
|
/// Socket n Commands
|
||||||
|
|
@ -251,9 +250,8 @@ pub mod socketn {
|
||||||
/// > When Disconnect-process is successfully completed, or
|
/// > When Disconnect-process is successfully completed, or
|
||||||
/// > when timeout occurs, these change to SOCK_CLOSED.
|
/// > when timeout occurs, these change to SOCK_CLOSED.
|
||||||
///
|
///
|
||||||
#[repr(u8)]
|
|
||||||
#[derive(TryFromPrimitive, Debug, Copy, Clone, PartialEq, Eq)]
|
#[derive(TryFromPrimitive, Debug, Copy, Clone, PartialEq, Eq)]
|
||||||
// #[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
#[repr(u8)]
|
||||||
pub enum Status {
|
pub enum Status {
|
||||||
Closed = 0x00,
|
Closed = 0x00,
|
||||||
Init = 0x13,
|
Init = 0x13,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue