mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -81,9 +81,11 @@ void FT5x06Touchscreen::update_touches() {
|
||||
}
|
||||
|
||||
void FT5x06Touchscreen::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "FT5x06 Touchscreen:");
|
||||
ESP_LOGCONFIG(TAG, " Address: 0x%02X", this->address_);
|
||||
ESP_LOGCONFIG(TAG, " Vendor ID: 0x%X", (int) this->vendor_id_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"FT5x06 Touchscreen:\n"
|
||||
" Address: 0x%02X\n"
|
||||
" Vendor ID: 0x%X",
|
||||
this->address_, (int) this->vendor_id_);
|
||||
}
|
||||
|
||||
bool FT5x06Touchscreen::err_check_(i2c::ErrorCode err, const char *msg) {
|
||||
|
||||
Reference in New Issue
Block a user