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