Lint
This commit is contained in:
@@ -177,7 +177,7 @@ script:
|
|||||||
// Update lights based on relay states
|
// Update lights based on relay states
|
||||||
for (size_t i = 0; i < relay_modes.size() && i < id(gb_lights_1).size(); ++i) {
|
for (size_t i = 0; i < relay_modes.size() && i < id(gb_lights_1).size(); ++i) {
|
||||||
if (!relay_modes[i] || !switches[i]) continue;
|
if (!relay_modes[i] || !switches[i]) continue;
|
||||||
|
|
||||||
auto light_index = relay_modes[i]->active_index();
|
auto light_index = relay_modes[i]->active_index();
|
||||||
if (!light_index.has_value()) continue;
|
if (!light_index.has_value()) continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user