From 192e2f2c7639e7923641b47816e4d64d2500f6fa Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 4 Jan 2023 23:45:07 +0100 Subject: [PATCH] make pfield public --- src/time/cds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time/cds.rs b/src/time/cds.rs index b22015b..1a843ec 100644 --- a/src/time/cds.rs +++ b/src/time/cds.rs @@ -6,7 +6,7 @@ use super::*; use crate::private::Sealed; use core::fmt::Debug; -const CDS_SHORT_P_FIELD: u8 = (CcsdsTimeCodes::Cds as u8) << 4; +pub const CDS_SHORT_P_FIELD: u8 = (CcsdsTimeCodes::Cds as u8) << 4; pub const MIN_CDS_FIELD_LEN: usize = 7; /// Generic trait implemented by token structs to specify the length of day field at type