diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2011-09-17 16:27:10 +0200 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2011-09-17 16:27:10 +0200 |
commit | 80f186ebe05615fe7127914ce71186564ae29ea0 (patch) | |
tree | de07b48ab16c9724dbfc90ba19744b1ff9f94774 /Sprinter | |
parent | 8807e95fe239256f077fd50412b5ccd3bd7e7c97 (diff) |
Reset heater pins after hard resets to avoid keeping them enabled while we don't have temperature control anymore
Diffstat (limited to 'Sprinter')
-rw-r--r-- | Sprinter/Sprinter.pde | 2 |
1 files changed, 2 insertions, 0 deletions
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 |