Fix GPIO Touch pin I/O (#1956)

This commit is contained in:
Fan Jiang 2024-08-16 08:39:20 -04:00 committed by GitHub
parent 6127f5df11
commit f6e69b06d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Added new `Io::new_no_bind_interrupt` constructor (#1861) - Added new `Io::new_no_bind_interrupt` constructor (#1861)
- Added touch pad support for esp32 (#1873) - Added touch pad support for esp32 (#1873, #1956)
- Allow configuration of period updating method for MCPWM timers (#1898) - Allow configuration of period updating method for MCPWM timers (#1898)
- Add self-testing mode for TWAI peripheral. (#1929) - Add self-testing mode for TWAI peripheral. (#1929)
- Added a `PeripheralClockControl::reset` to the driver constructors where missing (#1893) - Added a `PeripheralClockControl::reset` to the driver constructors where missing (#1893)

View File

@ -1423,7 +1423,7 @@ macro_rules! gpio {
procmacros::make_gpio_enum_dispatch_macro!( procmacros::make_gpio_enum_dispatch_macro!(
handle_gpio_output handle_gpio_output
{ InputOutputAnalog, InputOutput, } { InputOutputAnalogTouch, InputOutputAnalog, InputOutput, }
{ {
$( $(
$type,$gpionum $type,$gpionum
@ -1433,7 +1433,7 @@ macro_rules! gpio {
procmacros::make_gpio_enum_dispatch_macro!( procmacros::make_gpio_enum_dispatch_macro!(
handle_gpio_input handle_gpio_input
{ InputOutputAnalog, InputOutput, InputOnlyAnalog } { InputOutputAnalogTouch, InputOutputAnalog, InputOutput, InputOnlyAnalog }
{ {
$( $(
$type,$gpionum $type,$gpionum