diff --git a/Arduino/CanGrow/CanGrow_SysFunctions.h b/Arduino/CanGrow/CanGrow_SysFunctions.h index 4c3f5a5..a7a2776 100644 --- a/Arduino/CanGrow/CanGrow_SysFunctions.h +++ b/Arduino/CanGrow/CanGrow_SysFunctions.h @@ -736,6 +736,7 @@ void controlPUMP() { PumpOnManual = false; setOutput(3, 0); //digitalWrite(PinPUMP, LOW); + PumpLastOn = timeClient.getEpochTime(); EEPROM.put(237, PumpLastOn); EEPROM.commit(); //write to EEPROM PumpOnTimePassed = 0; diff --git a/Arduino/CanGrow/CanGrow_WebFunctions.h b/Arduino/CanGrow/CanGrow_WebFunctions.h index e7a05ef..7599a35 100644 --- a/Arduino/CanGrow/CanGrow_WebFunctions.h +++ b/Arduino/CanGrow/CanGrow_WebFunctions.h @@ -239,6 +239,12 @@ void SysMaintenance() { } else { body += "