Skip to content

Commit

Permalink
Fixes tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcr committed Sep 1, 2016
1 parent cf1d0ea commit de55487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tessel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl<'p> I2C<'p> {
/// # Example
/// ```
/// assert_eq!(compute_baud(1000000), 4);
/// ``
/// ```
fn compute_baud(frequency: u32) -> u8 {

let mut intermediate: f64 = MCU_MAX_SPEED as f64 / frequency as f64;
Expand Down

0 comments on commit de55487

Please sign in to comment.