From 7aac44bc35f342974edfc79b7f8d912fbdb0be2f Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Sun, 9 Aug 2026 15:08:46 +0200 Subject: [PATCH] Fix for touch --- Devices/m5stack-tab5/Source/devices/devices_v1.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Devices/m5stack-tab5/Source/devices/devices_v1.cpp b/Devices/m5stack-tab5/Source/devices/devices_v1.cpp index 280f2ef99..5ba6025f3 100644 --- a/Devices/m5stack-tab5/Source/devices/devices_v1.cpp +++ b/Devices/m5stack-tab5/Source/devices/devices_v1.cpp @@ -67,6 +67,11 @@ static void create_gt911_touch(Device* i2c0) { // Reset is pulsed via io_expander0 (detect.cpp's pulse_display_reset_pins), not a direct SoC GPIO. .pin_reset = GPIO_PIN_SPEC_NONE, .pin_interrupt = GPIO_PIN_SPEC_NONE, + .reset_pulses = 0, // no-op: pin_reset is NONE, so reset_controller_pin() skips anyway + .x_offset = 0, + .y_offset = 0, + .x_scale = 1000, + .y_scale = 1000, }; gt911_device.config = >911_config;