conversion from now bugfix
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2022-12-22 23:55:05 +01:00
parent 630bffec51
commit 5df221759f
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C

View File

@ -362,8 +362,8 @@ pub mod cds {
));
}
SubmillisPrecision::Picoseconds(_) => {
prec = Some(SubmillisPrecision::Microseconds(
(now.subsec_nanos() * 1000) as u16,
prec = Some(SubmillisPrecision::Picoseconds(
(now.subsec_nanos() * 1000) as u32,
));
}
_ => (),