clang-format

This commit is contained in:
J. Nick Koston 2024-01-20 14:43:24 -10:00
parent bc7a59b75b
commit 9d8e5dae56
No known key found for this signature in database
2 changed files with 7 additions and 9 deletions

View File

@ -27,7 +27,6 @@ namespace ratgdo {
std::vector<std::function<void(Ts...)>> callbacks_;
};
template <typename... X>
class ExpiringCallbacks;
@ -70,6 +69,5 @@ namespace ratgdo {
std::vector<std::pair<uint32_t, std::function<void(Ts...)>>> callbacks_;
};
} // namespace ratgdo
} // namespace esphome

View File

@ -198,7 +198,7 @@ namespace ratgdo {
}
if (learn_state == LearnState::INACTIVE) {
defer([=](){ this->query_paired_devices(); });
defer([=]() { this->query_paired_devices(); });
}
this->learn_state = learn_state;
@ -249,7 +249,7 @@ namespace ratgdo {
this->motion_state = MotionState::CLEAR;
});
if (*this->light_state == LightState::OFF) {
defer([=]() {this->query_status(); });
defer([=]() { this->query_status(); });
}
}
}