Reset heater pins after hard resets to avoid keeping them enabled while we don't have temperature control anymore

This commit is contained in:
Alessandro Ranellucci 2011-09-17 16:27:10 +02:00
parent 8807e95fe2
commit 80f186ebe0

View file

@ -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