mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Compatibility with clang-tidy v14 (#2272)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user