mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 13:01:30 +11:00
Make ReadableOutput public to match the visibility of other Type-level variant of PinMode.
This commit is contained in:
parent
3b019fb91d
commit
73e2c6921f
|
@ -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> {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue