From cf03613ac521bd38649683f398f765cecc60eb71 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 28 May 2020 20:43:34 +0200 Subject: [PATCH] main: fix peripheral params --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 84a2b00..479ada8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,7 +93,7 @@ fn main() -> ! { clocks, dp.TIM1, dp.TIM3, dp.GPIOA, dp.GPIOB, dp.GPIOC, dp.GPIOE, dp.GPIOF, dp.GPIOG, dp.SPI2, dp.SPI4, dp.SPI5, - dp.ADC1, dp.ADC2, dp.ADC3, + dp.ADC1, ); let mut channels = Channels::new(pins); channels.calibrate_dac_value(0);