Update ESPMegaDisplay.cpp
This commit is contained in:
parent
53937dd0ed
commit
59b1ade59d
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue