Fix typo
This commit is contained in:
parent
aef93246b4
commit
1d815f4ba0
@ -166,7 +166,7 @@ impl<'d, T: Instance, Tx, Rx> I2S<'d, T, Tx, Rx> {
|
|||||||
mck.set_speed(crate::gpio::Speed::VeryHigh);
|
mck.set_speed(crate::gpio::Speed::VeryHigh);
|
||||||
|
|
||||||
let mut spi_cfg = SpiConfig::default();
|
let mut spi_cfg = SpiConfig::default();
|
||||||
spi_cfg.freq = freq;
|
spi_cfg.frequency = freq;
|
||||||
let spi = Spi::new_internal(peri, txdma, rxdma, spi_cfg);
|
let spi = Spi::new_internal(peri, txdma, rxdma, spi_cfg);
|
||||||
|
|
||||||
#[cfg(all(rcc_f4, not(stm32f410)))]
|
#[cfg(all(rcc_f4, not(stm32f410)))]
|
||||||
|
Loading…
Reference in New Issue
Block a user