diff --git a/src/gpio/pins.rs b/src/gpio/pins.rs index 79d4a30..b2ec481 100644 --- a/src/gpio/pins.rs +++ b/src/gpio/pins.rs @@ -47,7 +47,7 @@ //! //! ``` //! let mut peripherals = Peripherals::take().unwrap(); -//! let pins = Pins::new(&mut dp.SYSCONFIG, Some(dp.IOCONFIG), dp.PORTA); +//! let pins = PinsA::new(&mut dp.SYSCONFIG, Some(dp.IOCONFIG), dp.PORTA); //! ``` //! //! Pins can be converted between modes using several different methods.