Skip to content

Commit 4c43bf1

Browse files
committed
AnyPin alias
1 parent 5835401 commit 4c43bf1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Added
1111

12+
- `AnyPin` alias for `ErasedPin`
1213
- `new` constructors for `Input`, `Output`, `Analog`
1314
- Add `f469disc-lcd-test` with color/BER test pattern LCD output [#789]
1415
- Port `dsihost` implementation from stm32h7xx-hal [#786]

src/gpio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub use convert::PinMode;
6363
mod partially_erased;
6464
pub use partially_erased::{PEPin, PartiallyErasedPin};
6565
mod erased;
66-
pub use erased::{EPin, ErasedPin};
66+
pub use erased::{AnyPin, ErasedPin};
6767
mod exti;
6868
pub use exti::ExtiPin;
6969
mod dynamic;

src/gpio/erased.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use super::*;
22

3-
pub use ErasedPin as EPin;
3+
pub use ErasedPin as AnyPin;
44

55
/// Fully erased pin
66
///

0 commit comments

Comments
 (0)