From 0354a7cfbfcce9e14278c7256fc7e52d0de97ef5 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 17 Jun 2024 01:57:06 +0200 Subject: [PATCH] firmware wip - pump mode manual, write PumpLastOn to EEPROM --- Arduino/CanGrow/CanGrow_SysFunctions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Arduino/CanGrow/CanGrow_SysFunctions.h b/Arduino/CanGrow/CanGrow_SysFunctions.h index cc9c266..899e600 100644 --- a/Arduino/CanGrow/CanGrow_SysFunctions.h +++ b/Arduino/CanGrow/CanGrow_SysFunctions.h @@ -666,6 +666,7 @@ void controlPUMP() { } else { PumpOnManual = false; digitalWrite(PinPUMP, LOW); + EEPROM.put(237, PumpLastOn); PumpOnTimePassed = 0; } // otherwise check which PumpMode to use