Make ReadableOutput public to match the visibility of other Type-level variant of PinMode.

This commit is contained in:
Wilfried Chauveau 2021-10-27 08:41:58 +01:00 committed by 9names
parent 3b019fb91d
commit 73e2c6921f

View file

@ -259,7 +259,7 @@ impl<C: OutputConfig> Sealed for Output<C> {}
pub type PushPullOutput = Output<PushPull>; pub type PushPullOutput = Output<PushPull>;
/// Type-level variant of [`PinMode`] for readable push-pull output mode /// Type-level variant of [`PinMode`] for readable push-pull output mode
type ReadableOutput = Output<Readable>; pub type ReadableOutput = Output<Readable>;
impl<I: PinId, C: OutputConfig> ValidPinMode<I> for Output<C> {} impl<I: PinId, C: OutputConfig> ValidPinMode<I> for Output<C> {}