Skip to content

Commit

Permalink
fixed clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottGibb committed Jan 9, 2025
1 parent ae8ffd1 commit 3cc6f0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pipico/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ pub mod initialise {
// at compile time if the pins are in the wrong mode, or if this I²C
// peripheral isn't available on these pins!

i2c_controller = hal::i2c::I2C::new_controller(
hal::i2c::I2C::new_controller(
pac.I2C1,
pins.gpio18.reconfigure(),
pins.gpio19.reconfigure(),
400.kHz(),
&mut pac.RESETS,
clocks.system_clock.get_freq(),
);
)
}
}

0 comments on commit 3cc6f0f

Please sign in to comment.