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)
|
- 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)
|
- 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)
|
- `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
|
### Removed
|
||||||
|
|
||||||
|
|||||||
@ -757,6 +757,7 @@ impl Bank1GpioRegisterAccess {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// GPIO pin
|
/// GPIO pin
|
||||||
|
#[non_exhaustive]
|
||||||
pub struct GpioPin<const GPIONUM: u8>;
|
pub struct GpioPin<const GPIONUM: u8>;
|
||||||
|
|
||||||
/// Type-erased GPIO pin
|
/// Type-erased GPIO pin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user