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
@@ -89,11 +89,13 @@ void MatrixKeypad::loop() {
void MatrixKeypad::dump_config() {
ESP_LOGCONFIG(TAG, "Matrix Keypad:");
ESP_LOGCONFIG(TAG, " Rows:");
for (auto &pin : this->rows_)
for (auto &pin : this->rows_) {
LOG_PIN(" Pin: ", pin);
}
ESP_LOGCONFIG(TAG, " Cols:");
for (auto &pin : this->columns_)
for (auto &pin : this->columns_) {
LOG_PIN(" Pin: ", pin);
}
}
void MatrixKeypad::register_listener(MatrixKeypadListener *listener) { this->listeners_.push_back(listener); }