make AdcChannel required for InternalChannel
This commit is contained in:
parent
ddbb6c8c31
commit
41e11d86b9
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ pub trait Instance: SealedInstance + crate::Peripheral<P = Self> + crate::rcc::R
|
|||
pub trait AdcPin<T: Instance>: AdcChannel<T> + SealedAdcPin<T> {}
|
||||
/// ADC internal channel.
|
||||
#[allow(private_bounds)]
|
||||
pub trait InternalChannel<T>: SealedInternalChannel<T> {}
|
||||
pub trait InternalChannel<T>: AdcChannel<T> + SealedInternalChannel<T> {}
|
||||
/// ADC channel.
|
||||
#[allow(private_bounds)]
|
||||
pub trait AdcChannel<T>: SealedAdcChannel<T> + Sized {
|
||||
|
|
Loading…
Reference in a new issue