Skip to content

Commit

Permalink
Fix GPIO Touch pin I/O
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfFan committed Aug 15, 2024
1 parent a10f86d commit 27f1768
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- 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)
- Add self-testing mode for TWAI peripheral. (#1929)
- Added a `PeripheralClockControl::reset` to the driver constructors where missing (#1893)
Expand Down
4 changes: 2 additions & 2 deletions esp-hal/src/gpio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ macro_rules! gpio {

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

procmacros::make_gpio_enum_dispatch_macro!(
handle_gpio_input
{ InputOutputAnalog, InputOutput, InputOnlyAnalog }
{ InputOutputAnalogTouch, InputOutputAnalog, InputOutput, InputOnlyAnalog }
{
$(
$type,$gpionum
Expand Down

0 comments on commit 27f1768

Please sign in to comment.