From 3fc974f3aac37da42fedc7c1ddae1e1a63579378 Mon Sep 17 00:00:00 2001 From: TreeNewbeer Date: Thu, 9 Jan 2020 14:11:40 +0800 Subject: [PATCH] bugfix(touchpad):swap touch8 and touch9 #3584 (#3620) --- 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 d22af774..4da7272c 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},