mirror of
https://github.com/esphome/esphome.git
synced 2025-09-29 00:22:21 +01:00
Enable a bunch of clang-tidy checks (#2149)
This commit is contained in:
@@ -97,7 +97,7 @@ void LTR390Component::read_mode_(int mode_index) {
|
||||
|
||||
// If there are more modes to read then begin the next
|
||||
// otherwise stop
|
||||
if (mode_index + 1 < this->mode_funcs_.size()) {
|
||||
if (mode_index + 1 < (int) this->mode_funcs_.size()) {
|
||||
this->read_mode_(mode_index + 1);
|
||||
} else {
|
||||
this->reading_ = false;
|
||||
|
Reference in New Issue
Block a user