|
@@ -417,6 +417,7 @@ void Statemachine::act(void) {
|
417
|
417
|
}
|
418
|
418
|
}
|
419
|
419
|
|
|
420
|
+#ifdef CHECK_SENSORS_VALVE_PUMP_MENU
|
420
|
421
|
if ((state == menu_pumps_run) || ((state == menu_valves_run) && (selected_id == (plants.countPlants() + 1)))) {
|
421
|
422
|
// check water level state
|
422
|
423
|
auto wl = plants.getWaterlevel();
|
|
@@ -446,6 +447,7 @@ void Statemachine::act(void) {
|
446
|
447
|
switch_to(error);
|
447
|
448
|
}
|
448
|
449
|
}
|
|
450
|
+#endif
|
449
|
451
|
|
450
|
452
|
if ((state == auto_fert_run) || (state == auto_tank_run)) {
|
451
|
453
|
unsigned long runtime = millis() - start_time;
|