Skip to content

Commit

Permalink
Fixed formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
asasine committed Jan 10, 2025
1 parent 6540dde commit 20b6390
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/linux-sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct Args {

impl Args {
fn delay_ms(&self) -> u32 {
(1000.0 / self.frequency) as u32
(1000.0 / self.frequency).floor() as u32
}
}

Expand Down Expand Up @@ -69,4 +69,3 @@ fn main() {
}
}
}

0 comments on commit 20b6390

Please sign in to comment.