From 92e96bd601e8e663114b1efccc4a1e8d309332d9 Mon Sep 17 00:00:00 2001 From: Grant Miller Date: Wed, 5 Apr 2023 16:38:06 -0500 Subject: [PATCH] Fix typo --- embassy-stm32/src/adc/v1.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/adc/v1.rs b/embassy-stm32/src/adc/v1.rs index 5f0f8c14..17114732 100644 --- a/embassy-stm32/src/adc/v1.rs +++ b/embassy-stm32/src/adc/v1.rs @@ -2,8 +2,8 @@ use embassy_hal_common::into_ref; use embedded_hal_02::blocking::delay::DelayUs; use crate::adc::{Adc, AdcPin, Instance, InternalChannel, Resolution, SampleTime}; -use crate::Peripheral; use crate::peripherals::ADC1; +use crate::Peripheral; pub const VDDA_CALIB_MV: u32 = 3300; pub const VREF_INT: u32 = 1230; @@ -18,7 +18,7 @@ impl super::sealed::InternalChannel for Vbat { pub struct Vref; impl InternalChannel for Vref {} -impl super::sealed::::InternalChannel for Vref { +impl super::sealed::InternalChannel for Vref { fn channel(&self) -> u8 { 17 }