improvement for naming

This commit is contained in:
muellerr committed 2025-08-26 16:16:54 +02:00
1 parent 8eccf1fa29
commit 160b1dedf9
7 files changed
+45 -42

No files matched your search

+1 -1
View File
@@ -376,7 +376,7 @@ pub trait CcsdsPacket {
fn data_len(&self) -> u16;
/// Retrieve the total packet size based on the data length field
#[inline]
fn total_len(&self) -> usize {
fn packet_len(&self) -> usize {
usize::from(self.data_len()) + CCSDS_HEADER_LEN + 1
}