better API name
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit

This commit is contained in:
Robin Müller 2023-07-05 19:26:22 +02:00
parent 929590ecb0
commit 2deac938bb
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -452,7 +452,7 @@ impl<'raw> PusTmZeroCopyWriter<'raw> {
/// Set the sequence count. Returns false and does not update the value if the passed value
/// exceeds [MAX_SEQ_COUNT].
pub fn set_seq_count_in_place(&mut self, seq_count: u16) -> bool {
pub fn set_seq_count(&mut self, seq_count: u16) -> bool {
if seq_count > MAX_SEQ_COUNT {
return false;
}