Skip to content

Commit

Permalink
spi4/5
Browse files Browse the repository at this point in the history
  • Loading branch information
burrbull committed Aug 16, 2024
1 parent fc9d5b8 commit 2ae9f99
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/i2s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,15 +282,10 @@ i2s!(pac::SPI2, I2s2, i2s2);
#[cfg(feature = "spi3")]
i2s!(pac::SPI3, I2s3, i2s3);

#[cfg(any(feature = "gpio-f411", feature = "gpio-f412", feature = "gpio-f413"))]
#[cfg(feature = "spi4")]
i2s!(pac::SPI4, I2s4, i2s4);

#[cfg(any(
feature = "gpio-f410",
feature = "gpio-f411",
feature = "gpio-f412",
feature = "gpio-f413"
))]
#[cfg(feature = "spi5")]
i2s!(pac::SPI5, I2s5, i2s5);

/// A wrapper around a SPI and a I2SEXT object and pins for full duplex I2S operation
Expand Down

0 comments on commit 2ae9f99

Please sign in to comment.