Fix stm32 SPI examples

This commit is contained in:
bofh
2023-07-30 18:58:40 +02:00
parent 1d815f4ba0
commit d2127f6b82
9 changed files with 5 additions and 35 deletions

View File

@ -6,7 +6,6 @@ use defmt::*;
use embassy_executor::Spawner;
use embassy_stm32::gpio::{Input, Level, Output, Pull, Speed};
use embassy_stm32::spi::{Config, Spi};
use embassy_stm32::time::Hertz;
use {defmt_rtt as _, panic_probe as _};
#[embassy_executor::main]
@ -21,7 +20,6 @@ async fn main(_spawner: Spawner) {
p.PC11,
p.DMA1_CH1,
p.DMA1_CH2,
Hertz(1_000_000),
Config::default(),
);