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

Compatibility with clang-tidy v14 (#2272)

This commit is contained in:
Oxan van Leeuwen
2021-09-13 09:35:55 +02:00
committed by GitHub
parent f31e0532c4
commit 0cd24c629a
12 changed files with 41 additions and 45 deletions

View File

@@ -16,7 +16,7 @@ I2CComponent::I2CComponent() {
this->wire_ = new TwoWire(next_i2c_bus_num_);
next_i2c_bus_num_++;
#else
this->wire_ = &Wire;
this->wire_ = &Wire; // NOLINT(cppcoreguidelines-prefer-member-initializer)
#endif
}