bump spacepackets

This commit is contained in:
2022-12-05 08:47:11 +01:00
parent 6c8c8537a7
commit df670f13df
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)
}
}