bugfix for patch version
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit

This commit is contained in:
2023-01-14 17:18:02 +01:00
parent 2385e7812b
commit 008359ec71
2 changed files with 10 additions and 2 deletions

View File

@ -170,8 +170,8 @@ impl ConversionFromNow {
));
}
SubmillisPrecision::Picoseconds(_) => {
prec = Some(SubmillisPrecision::Microseconds(
(now.subsec_nanos() * 1000) as u16,
prec = Some(SubmillisPrecision::Picoseconds(
now.subsec_nanos() * 1000
));
}
_ => (),