1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

Fix xpt2046 for IDF 5 (#5614)

This commit is contained in:
Keith Burzinski
2023-10-27 17:36:43 -05:00
committed by GitHub
parent 563e15e8a7
commit d4cb29a380

View File

@@ -3,6 +3,7 @@
#include "esphome/core/helpers.h"
#include <algorithm>
#include <cinttypes>
namespace esphome {
namespace xpt2046 {
@@ -151,7 +152,7 @@ void XPT2046Component::dump_config() {
ESP_LOGCONFIG(TAG, " Invert Y: %s", YESNO(this->invert_y_));
ESP_LOGCONFIG(TAG, " threshold: %d", this->threshold_);
ESP_LOGCONFIG(TAG, " Report interval: %u", this->report_millis_);
ESP_LOGCONFIG(TAG, " Report interval: %" PRIu32, this->report_millis_);
LOG_UPDATE_INTERVAL(this);
}