moved CCSDS constant
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
2024-04-13 12:10:32 +02:00
parent 9e02e00d1a
commit 533afc33fa
3 changed files with 6 additions and 2 deletions

View File

@@ -65,7 +65,6 @@ extern crate alloc;
#[cfg(any(feature = "std", test))]
extern crate std;
use crate::ecss::CCSDS_HEADER_LEN;
use core::{
fmt::{Debug, Display, Formatter},
hash::Hash,
@@ -88,6 +87,8 @@ mod private {
pub trait Sealed {}
}
pub const CCSDS_HEADER_LEN: usize = core::mem::size_of::<crate::zc::SpHeader>();
/// CRC algorithm used by the PUS standard, the CCSDS TC standard and the CFDP standard.
pub const CRC_CCITT_FALSE: Crc<u16> = Crc::<u16>::new(&CRC_16_IBM_3740);