From 80f186ebe05615fe7127914ce71186564ae29ea0 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 17 Sep 2011 16:27:10 +0200 Subject: Reset heater pins after hard resets to avoid keeping them enabled while we don't have temperature control anymore --- Sprinter/Sprinter.pde | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Sprinter/Sprinter.pde') diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde index e3f60b2..d385285 100644 --- a/Sprinter/Sprinter.pde +++ b/Sprinter/Sprinter.pde @@ -292,9 +292,11 @@ void setup() #if (HEATER_0_PIN > -1) SET_OUTPUT(HEATER_0_PIN); + WRITE(HEATER_0_PIN,LOW); #endif #if (HEATER_1_PIN > -1) SET_OUTPUT(HEATER_1_PIN); + WRITE(HEATER_1_PIN,LOW); #endif //Initialize Fan Pin -- cgit v1.2.1