better API name
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
This commit is contained in:
parent
929590ecb0
commit
2deac938bb
@ -452,7 +452,7 @@ impl<'raw> PusTmZeroCopyWriter<'raw> {
|
|||||||
|
|
||||||
/// Set the sequence count. Returns false and does not update the value if the passed value
|
/// Set the sequence count. Returns false and does not update the value if the passed value
|
||||||
/// exceeds [MAX_SEQ_COUNT].
|
/// 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 {
|
if seq_count > MAX_SEQ_COUNT {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user