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 09aa82f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Fixed input/output for GPIO touch pins (#1956)
- Added new `Io::new_no_bind_interrupt` constructor (#1861)
- Added touch pad support for esp32 (#1873)
- Allow configuration of period updating method for MCPWM timers (#1898)
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 09aa82f

Please sign in to comment.