From 1d35b21f898c5142b679f49a37476e4042978e59 Mon Sep 17 00:00:00 2001 From: SGE Date: Mon, 18 Dec 2023 15:44:39 +0100 Subject: [PATCH] touch point debug info --- esphome/components/touchscreen/touchscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/touchscreen/touchscreen.cpp b/esphome/components/touchscreen/touchscreen.cpp index ebd7273484..4fb5d64a26 100644 --- a/esphome/components/touchscreen/touchscreen.cpp +++ b/esphome/components/touchscreen/touchscreen.cpp @@ -80,7 +80,7 @@ void Touchscreen::set_raw_touch_position_(uint8_t id, int16_t x_raw, int16_t y_r tp.y_org = tp.y; } - ESP_LOGD(TAG, "Touch info, x_raw: %d, y_raw: %d, p: %d, x: %d, y: %d", x_raw, y_raw, z_raw, x, y); + ESP_LOGD(TAG, "Touch info, x_raw: %d, y_raw: %d, p: %d, x: %d, y: %d", x_raw, y_raw, z_raw, tp.x, tp.y); this->touches_[id] = tp;