From fdb0c40764afcfc208e86e3d2a799d6c0e585d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 16 Feb 2021 15:22:58 +0100 Subject: [PATCH] fmt --- src/hardware/configuration.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/hardware/configuration.rs b/src/hardware/configuration.rs index fba7048..dabd2ef 100644 --- a/src/hardware/configuration.rs +++ b/src/hardware/configuration.rs @@ -135,10 +135,8 @@ pub fn setup( hal::dma::dma::StreamsTuple::new(device.DMA1, ccdr.peripheral.DMA1); #[cfg(feature = "pounder_v1_1")] - let dma2_streams = hal::dma::dma::StreamsTuple::new( - device.DMA2, - ccdr.peripheral.DMA2, - ); + let dma2_streams = + hal::dma::dma::StreamsTuple::new(device.DMA2, ccdr.peripheral.DMA2); // Configure timer 2 to trigger conversions for the ADC let mut sampling_timer = {