Skip to content

Commit

Permalink
fix module level doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
fu5ha committed Oct 22, 2023
1 parent 2af733e commit 661b98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rp2040-hal/src/spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//! let spi_device = peripherals.SPI0;
//! let spi_pin_layout = (mosi, sclk);
//!
//! let spi = Spi::new(spi_device, spi_pin_layout)
//! let spi = Spi::<_, _, _, 8>::new(spi_device, spi_pin_layout)
//! .init(&mut peripherals.RESETS, 125_000_000u32.Hz(), 16_000_000u32.Hz(), MODE_0);
//! ```

Expand Down

0 comments on commit 661b98a

Please sign in to comment.