mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Fix xpt2046 for IDF 5 (#5614)
This commit is contained in:
parent
563e15e8a7
commit
d4cb29a380
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user