Archived
improvement for naming
This commit is contained in:
1 parent
8eccf1fa29
commit
160b1dedf9
7 files changed
+45
-42
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user