summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-02-19 00:36:55 +1100
committerDamien George <damien.p.george@gmail.com>2018-02-19 00:36:55 +1100
commit5a82ba8e073f847985595a46fb2f0c12f4389bbc (patch)
tree2e08732101647756d702259de20ff0a4128949ca
parent7b2a9b059a4c60252b37f61cdbc2a28e375438a5 (diff)
esp32/machine_touchpad: Swap pins 32 and 33.
Based on testing, this is how the mapping should be.
-rw-r--r--ports/esp32/machine_touchpad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp32/machine_touchpad.c b/ports/esp32/machine_touchpad.c
index 96de1a2a1..ff31ccf69 100644
--- a/ports/esp32/machine_touchpad.c
+++ b/ports/esp32/machine_touchpad.c
@@ -51,8 +51,8 @@ STATIC const mtp_obj_t touchpad_obj[] = {
{{&machine_touchpad_type}, GPIO_NUM_12, TOUCH_PAD_NUM5},
{{&machine_touchpad_type}, GPIO_NUM_14, TOUCH_PAD_NUM6},
{{&machine_touchpad_type}, GPIO_NUM_27, TOUCH_PAD_NUM7},
- {{&machine_touchpad_type}, GPIO_NUM_33, TOUCH_PAD_NUM8},
- {{&machine_touchpad_type}, GPIO_NUM_32, TOUCH_PAD_NUM9},
+ {{&machine_touchpad_type}, GPIO_NUM_32, TOUCH_PAD_NUM8},
+ {{&machine_touchpad_type}, GPIO_NUM_33, TOUCH_PAD_NUM9},
};
STATIC mp_obj_t mtp_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw,