From e4696c1fb7145461c99971d514a4f3c6c88e3cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 24 Sep 2024 23:55:17 +0200 Subject: [PATCH] Fix test formatting --- hil-test/tests/spi_full_duplex.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hil-test/tests/spi_full_duplex.rs b/hil-test/tests/spi_full_duplex.rs index beed6ff55a..b9bb294965 100644 --- a/hil-test/tests/spi_full_duplex.rs +++ b/hil-test/tests/spi_full_duplex.rs @@ -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)