Skip to content

Commit

Permalink
Fix test formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 25, 2024
1 parent dd9c444 commit e4696c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hil-test/tests/spi_full_duplex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,10 @@ mod tests {
let dma_rx_buf = DmaRxBuf::new(ctx.rx_descriptors, ctx.rx_buffer).unwrap();
let dma_tx_buf = DmaTxBuf::new(ctx.tx_descriptors, ctx.tx_buffer).unwrap();

let spi = ctx
.spi
.with_dma(ctx.dma_channel.configure_for_async(false, DmaPriority::Priority0));
let spi = ctx.spi.with_dma(
ctx.dma_channel
.configure_for_async(false, DmaPriority::Priority0),
);

let mut transfer = spi
.dma_transfer(dma_rx_buf, dma_tx_buf)
Expand Down

0 comments on commit e4696c1

Please sign in to comment.