diff --git a/esp-hal/CHANGELOG.md b/esp-hal/CHANGELOG.md index d0e2ba73101..492bc53a37e 100644 --- a/esp-hal/CHANGELOG.md +++ b/esp-hal/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- Removed `NoPinType` in favour of `DummyPin`. (#2???) + ## [0.20.1] - 2024-08-30 ### Fixed diff --git a/esp-hal/src/gpio/mod.rs b/esp-hal/src/gpio/mod.rs index d89deb7ca45..97c188cfa5b 100644 --- a/esp-hal/src/gpio/mod.rs +++ b/esp-hal/src/gpio/mod.rs @@ -87,11 +87,8 @@ pub mod lp_io; #[cfg(all(rtc_io, not(esp32)))] pub mod rtc_io; -/// Convenience type-alias for a no-pin / don't care - pin -pub type NoPinType = Gpio0; - /// Convenience constant for `Option::None` pin -pub const NO_PIN: Option = None; +pub const NO_PIN: Option = None; static USER_INTERRUPT_HANDLER: Mutex>> = Mutex::new(Cell::new(None));