feat: make OVERHEAD const public
This commit is contained in:
parent
dd0ce35bef
commit
96bcd6f65e
|
@ -1,9 +1,9 @@
|
||||||
|
pub const OVERHEAD: usize = 7;
|
||||||
|
|
||||||
pub const PACKET_START_BYTE: u8 = 0x9C;
|
pub const PACKET_START_BYTE: u8 = 0x9C;
|
||||||
|
|
||||||
pub const PAYLOAD_SIZE_MAX: usize = 1465;
|
pub const PAYLOAD_SIZE_MAX: usize = 1465;
|
||||||
|
|
||||||
const OVERHEAD: usize = 7;
|
|
||||||
|
|
||||||
pub use crate::common::{PacketType, PACKET_END_BYTE};
|
pub use crate::common::{PacketType, PACKET_END_BYTE};
|
||||||
|
|
||||||
#[derive(PartialEq)]
|
#[derive(PartialEq)]
|
||||||
|
|
Loading…
Reference in New Issue