From 96bcd6f65e0da558e97e9d87fd8cb95a5a630da5 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 28 Jun 2024 22:33:18 +0200 Subject: [PATCH] feat: make OVERHEAD const public --- src/tpm2net.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tpm2net.rs b/src/tpm2net.rs index 6bd735e..9379b94 100644 --- a/src/tpm2net.rs +++ b/src/tpm2net.rs @@ -1,9 +1,9 @@ +pub const OVERHEAD: usize = 7; + pub const PACKET_START_BYTE: u8 = 0x9C; pub const PAYLOAD_SIZE_MAX: usize = 1465; -const OVERHEAD: usize = 7; - pub use crate::common::{PacketType, PACKET_END_BYTE}; #[derive(PartialEq)]