From 59b1ade59db68d978685d706b9eae2ea6a186b4e Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sat, 30 Dec 2023 18:51:13 +0700 Subject: [PATCH] Update ESPMegaDisplay.cpp --- ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp index d141ee2..37e00c8 100644 --- a/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp +++ b/ESPMegaPRO-firmware/lib/ESPMegaPRO/ESPMegaDisplay.cpp @@ -62,6 +62,7 @@ void ESPMegaDisplay::processTouchPayload() { // The fourth byte of the payload is the event uint8_t event = rx_buffer[3]; // 0x01 is press, 0x00 is release + ESP_LOGV("ESPMegaDisplay", "Touch event: page=%d, component=%d, event=%d", page, component, event); } /** @@ -74,6 +75,7 @@ void ESPMegaDisplay::processPageReportPayload() { pageChangeCallback(this->currentPage); } rx_buffer_index = 0; + ESP_LOGV("ESPMegaDisplay", "Page change event: page=%d", this->currentPage); } /**