1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00

Bump clang-tidy from 11 to 14 (#5160)

This commit is contained in:
Sergey Dudanov
2023-07-30 23:44:56 +04:00
committed by GitHub
parent 3eff7e76aa
commit cd72a2ed7e
17 changed files with 37 additions and 31 deletions

View File

@@ -147,8 +147,9 @@ void VBusCustomBSensor::dump_config() {
ESP_LOGCONFIG(TAG, " Command: 0x%04x", this->command_);
}
ESP_LOGCONFIG(TAG, " Binary Sensors:");
for (VBusCustomSubBSensor *bsensor : this->bsensors_)
for (VBusCustomSubBSensor *bsensor : this->bsensors_) {
LOG_BINARY_SENSOR(" ", "-", bsensor);
}
}
void VBusCustomBSensor::handle_message(std::vector<uint8_t> &message) {

View File

@@ -232,8 +232,9 @@ void VBusCustomSensor::dump_config() {
ESP_LOGCONFIG(TAG, " Command: 0x%04x", this->command_);
}
ESP_LOGCONFIG(TAG, " Sensors:");
for (VBusCustomSubSensor *sensor : this->sensors_)
for (VBusCustomSubSensor *sensor : this->sensors_) {
LOG_SENSOR(" ", "-", sensor);
}
}
void VBusCustomSensor::handle_message(std::vector<uint8_t> &message) {