Skip to content

Commit 09aa82f

Browse files
committed
Fix GPIO Touch pin I/O
1 parent a10f86d commit 09aa82f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

esp-hal/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
- Fixed input/output for GPIO touch pins (#1956)
1213
- Added new `Io::new_no_bind_interrupt` constructor (#1861)
1314
- Added touch pad support for esp32 (#1873)
1415
- Allow configuration of period updating method for MCPWM timers (#1898)

esp-hal/src/gpio/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ macro_rules! gpio {
14231423

14241424
procmacros::make_gpio_enum_dispatch_macro!(
14251425
handle_gpio_output
1426-
{ InputOutputAnalog, InputOutput, }
1426+
{ InputOutputAnalogTouch, InputOutputAnalog, InputOutput, }
14271427
{
14281428
$(
14291429
$type,$gpionum
@@ -1433,7 +1433,7 @@ macro_rules! gpio {
14331433

14341434
procmacros::make_gpio_enum_dispatch_macro!(
14351435
handle_gpio_input
1436-
{ InputOutputAnalog, InputOutput, InputOnlyAnalog }
1436+
{ InputOutputAnalogTouch, InputOutputAnalog, InputOutput, InputOnlyAnalog }
14371437
{
14381438
$(
14391439
$type,$gpionum

0 commit comments

Comments
 (0)