We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0966b30 commit f02edcbCopy full SHA for f02edcb
software/src/modules/solar_forecast/solar_forecast.cpp
@@ -182,7 +182,7 @@ void SolarForecast::update()
182
// Find plane that is due for update
183
plane_current = nullptr;
184
for (SolarForecastPlane &plane : planes) {
185
- if (plane.state.get("active")->asBool() && (plane.state.get("next_check")->asUint() < timestamp_minutes())) {
+ if (plane.config.get("active")->asBool() && (plane.state.get("next_check")->asUint() < timestamp_minutes())) {
186
plane_current = &plane;
187
break;
188
}
0 commit comments