Skip to content

Commit

Permalink
fix: incorrect comment for SPI1 pins. see #10
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinevg committed Sep 16, 2022
1 parent f8fe7bd commit 1ffe4e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ pub type SeedPin5 = hal::gpio::gpiod::PD2<hal::gpio::Analog>; // PIN_06, SD CMD,
pub type SeedPin6 = hal::gpio::gpioc::PC12<hal::gpio::Analog>; // PIN_07, SD CLK, UART5 Tx
pub type SeedPin7 = hal::gpio::gpiog::PG10<hal::gpio::Analog>; // PIN_08, SPI1 CS
pub type SeedPin8 = hal::gpio::gpiog::PG11<hal::gpio::Analog>; // PIN_09, SPI1 SCK, SPDIFRX1
pub type SeedPin9 = hal::gpio::gpiob::PB4<hal::gpio::Alternate<0>>; // PIN_10, SPI1 MOSI
pub type SeedPin10 = hal::gpio::gpiob::PB5<hal::gpio::Analog>; // PIN_11, SPI1 MISO
pub type SeedPin9 = hal::gpio::gpiob::PB4<hal::gpio::Alternate<0>>; // PIN_10, SPI1 MISO
pub type SeedPin10 = hal::gpio::gpiob::PB5<hal::gpio::Analog>; // PIN_11, SPI1 MOSI
pub type SeedPin11 = hal::gpio::gpiob::PB8<hal::gpio::Analog>; // PIN_12, I2C1 SCL, UART4 Rx
pub type SeedPin12 = hal::gpio::gpiob::PB9<hal::gpio::Analog>; // PIN_13, I2C1 SDA, UART4 Tx
pub type SeedPin13 = hal::gpio::gpiob::PB6<hal::gpio::Analog>; // PIN_14, USART1 Tx, I2C4 SCL
Expand Down

0 comments on commit 1ffe4e0

Please sign in to comment.