Support unstable-trait feature for stm32
This commit is contained in:
@ -4,7 +4,7 @@ use crate::time::Hertz;
|
||||
use core::marker::PhantomData;
|
||||
use embassy::util::Unborrow;
|
||||
use embassy_hal_common::unborrow;
|
||||
use embedded_hal::blocking::delay::DelayUs;
|
||||
use embedded_hal_02::blocking::delay::DelayUs;
|
||||
|
||||
pub const VDDA_CALIB_MV: u32 = 3300;
|
||||
pub const ADC_MAX: u32 = (1 << 12) - 1;
|
||||
|
@ -2,7 +2,7 @@ use crate::adc::{AdcPin, Instance};
|
||||
use core::marker::PhantomData;
|
||||
use embassy::util::Unborrow;
|
||||
use embassy_hal_common::unborrow;
|
||||
use embedded_hal::blocking::delay::DelayUs;
|
||||
use embedded_hal_02::blocking::delay::DelayUs;
|
||||
|
||||
pub const VDDA_CALIB_MV: u32 = 3000;
|
||||
|
||||
|
Reference in New Issue
Block a user