feat: make OVERHEAD const public

This commit is contained in:
Luca 2024-06-28 22:33:18 +02:00
parent dd0ce35bef
commit 96bcd6f65e
1 changed files with 2 additions and 2 deletions

View File

@ -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)]