Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Aug 27, 2024
1 parent 549cb57 commit bcdbbd8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hil-test/tests/spi_full_duplex_dma_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ use esp_hal::{
peripherals::{Peripherals, SPI2},
prelude::*,
spi::{
master::{dma::asynch::SpiDmaAsyncBus, Spi},
master::{dma::SpiDmaBus, Spi},
FullDuplexMode,
SpiMode,
},
system::SystemControl,
Async,
};
use hil_test as _;

Expand All @@ -55,7 +57,7 @@ cfg_if::cfg_if! {
const DMA_BUFFER_SIZE: usize = 5;

struct Context {
spi: SpiDmaAsyncBus<'static, SPI2, DmaChannel0>,
spi: SpiDmaBus<'static, SPI2, DmaChannel0, FullDuplexMode, Async>,
pcnt_unit: Unit<'static, 0>,
out_pin: Output<'static, GpioPin<5>>,
mosi_mirror: GpioPin<2>,
Expand Down

0 comments on commit bcdbbd8

Please sign in to comment.