From bb8a9fd7cede768a8c11a316e505fe76be4929e5 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Wed, 25 Oct 2023 17:53:00 +0000 Subject: [PATCH] Fix test case in doc comment --- rp2040-hal/src/i2c.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/src/i2c.rs b/rp2040-hal/src/i2c.rs index d964374f2..19e60591a 100644 --- a/rp2040-hal/src/i2c.rs +++ b/rp2040-hal/src/i2c.rs @@ -12,8 +12,8 @@ //! //! let mut i2c = I2C::i2c1( //! peripherals.I2C1, -//! pins.gpio18.into_pull_up_input().into_function(), // sda -//! pins.gpio19.into_pull_up_input().into_function(), // scl +//! pins.gpio18.reconfigure(), // sda +//! pins.gpio19.reconfigure(), // scl //! 400.kHz(), //! &mut peripherals.RESETS, //! 125_000_000.Hz(),