bump spacepackets

This commit is contained in:
Robin Müller 2022-12-05 08:47:11 +01:00
parent 6c8c8537a7
commit df670f13df
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C
3 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ impl<E: 'static> ReceivesTc for CcsdsDistributor<E> {
}),
));
}
let sp_header = SpHeader::from_raw_slice(tc_raw).map_err(|e| CcsdsError::PacketError(e))?;
let sp_header = SpHeader::from_be_bytes(tc_raw).map_err(|e| CcsdsError::PacketError(e))?;
self.dispatch_ccsds(&sp_header, tc_raw)
}
}

View File

@ -98,7 +98,7 @@ impl<E: 'static> ReceivesTc for PusDistributor<E> {
type Error = PusDistribError<E>;
fn pass_tc(&mut self, tm_raw: &[u8]) -> Result<(), Self::Error> {
// Convert to ccsds and call pass_ccsds
let sp_header = SpHeader::from_raw_slice(tm_raw)
let sp_header = SpHeader::from_be_bytes(tm_raw)
.map_err(|e| PusDistribError::PusError(PusError::ByteConversionError(e)))?;
self.pass_ccsds(&sp_header, tm_raw)
}

@ -1 +1 @@
Subproject commit 3a71b00198566d009f4f08e69cf61d48ccc14bcd
Subproject commit 038755e56eb4f43f5959687180fa98c80cd16b59