Skip to content

Commit 27f1768

Browse files
committed
Fix GPIO Touch pin I/O
1 parent a10f86d commit 27f1768

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

esp-hal/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Added new `Io::new_no_bind_interrupt` constructor (#1861)
13-
- Added touch pad support for esp32 (#1873)
13+
- Added touch pad support for esp32 (#1873, #1956)
1414
- Allow configuration of period updating method for MCPWM timers (#1898)
1515
- Add self-testing mode for TWAI peripheral. (#1929)
1616
- Added a `PeripheralClockControl::reset` to the driver constructors where missing (#1893)

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)