mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Prevent creating GpioPin (#2688)
This commit is contained in:
parent
b4379b8518
commit
2d4ccd735f
@ -62,6 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Xtensa devices now correctly enable the `esp-hal-procmacros/rtc-slow` feature (#2594)
|
||||
- User-bound GPIO interrupt handlers should no longer interfere with async pins. (#2625)
|
||||
- `spi::master::Spi::{into_async, into_blocking}` are now correctly available on the typed driver, to. (#2674)
|
||||
- It is no longer possible to safely conjure `GpioPin` instances (#2688)
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -757,6 +757,7 @@ impl Bank1GpioRegisterAccess {
|
||||
}
|
||||
|
||||
/// GPIO pin
|
||||
#[non_exhaustive]
|
||||
pub struct GpioPin<const GPIONUM: u8>;
|
||||
|
||||
/// Type-erased GPIO pin
|
||||
|
Loading…
x
Reference in New Issue
Block a user