Skip to content

Commit 5a82ba8

Browse files
committed
esp32/machine_touchpad: Swap pins 32 and 33.
Based on testing, this is how the mapping should be.
1 parent 7b2a9b0 commit 5a82ba8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ports/esp32/machine_touchpad.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ STATIC const mtp_obj_t touchpad_obj[] = {
5151
{{&machine_touchpad_type}, GPIO_NUM_12, TOUCH_PAD_NUM5},
5252
{{&machine_touchpad_type}, GPIO_NUM_14, TOUCH_PAD_NUM6},
5353
{{&machine_touchpad_type}, GPIO_NUM_27, TOUCH_PAD_NUM7},
54-
{{&machine_touchpad_type}, GPIO_NUM_33, TOUCH_PAD_NUM8},
55-
{{&machine_touchpad_type}, GPIO_NUM_32, TOUCH_PAD_NUM9},
54+
{{&machine_touchpad_type}, GPIO_NUM_32, TOUCH_PAD_NUM8},
55+
{{&machine_touchpad_type}, GPIO_NUM_33, TOUCH_PAD_NUM9},
5656
};
5757

5858
STATIC mp_obj_t mtp_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw,

0 commit comments

Comments
 (0)