Skip to content

Commit

Permalink
Fix test case in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Oct 25, 2023
1 parent 4917a3a commit bee0191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rp2040-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//!
//! let mut i2c = I2C::i2c1(
//! peripherals.I2C1,
//! pins.gpio18.into_function(), // sda
//! pins.gpio19.into_function(), // scl
//! pins.gpio18.reconfigure(), // sda
//! pins.gpio19.reconfigure(), // scl
//! 400.kHz(),
//! &mut peripherals.RESETS,
//! 125_000_000.Hz(),
Expand Down

0 comments on commit bee0191

Please sign in to comment.