conversion from now bugfix
Rust/spacepackets/pipeline/head This commit looks good Details
Rust/spacepackets/pipeline/pr-main This commit looks good Details

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
1 changed files with 2 additions and 2 deletions

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,
));
}
_ => (),