From aa9ce004654bbfe270e146bdbefb535c7715d05d Mon Sep 17 00:00:00 2001 From: TreeNewbeer Date: Wed, 8 Jan 2020 16:22:10 +0800 Subject: [PATCH] bugfix(touchpad):swap touch8 and touch9 #3584 --- cores/esp32/esp32-hal-gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/esp32/esp32-hal-gpio.c b/cores/esp32/esp32-hal-gpio.c index d22af774c81..4da7272c597 100644 --- a/cores/esp32/esp32-hal-gpio.c +++ b/cores/esp32/esp32-hal-gpio.c @@ -59,8 +59,8 @@ const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux[GPIO_PIN_COUNT]={ {0, -1, -1, -1}, {0, -1, -1, -1}, {0, -1, -1, -1}, - {0x1c, 9, 4, 9}, - {0x20, 8, 5, 8}, + {0x1c, 9, 4, 8}, + {0x20, 8, 5, 9}, {0x14, 4, 6, -1}, {0x18, 5, 7, -1}, {0x04, 0, 0, -1},