chiark
/
gitweb
/
~ianmdlvl
/
marlin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15bb3f2
)
Small temperature disable bug.
author
Erik van der Zalm
<erik@vdzalm.eu>
Sun, 20 Nov 2011 14:03:35 +0000
(15:03 +0100)
committer
Erik van der Zalm
<erik@vdzalm.eu>
Sun, 20 Nov 2011 14:03:35 +0000
(15:03 +0100)
Marlin/temperature.cpp
patch
|
blob
|
history
diff --git
a/Marlin/temperature.cpp
b/Marlin/temperature.cpp
index f5df6f617bf3c1d4505859b85f02f79cf79c9f73..04353b566d4c246804a6e8a23959b01931bf7c03 100644
(file)
--- a/
Marlin/temperature.cpp
+++ b/
Marlin/temperature.cpp
@@
-430,21
+430,21
@@
void disable_heater()
#if TEMP_0_PIN > -1
target_raw[0]=0;
#if HEATER_0_PIN > -1
-
WRITE
(HEATER_0_PIN,LOW);
+
digitalWrite
(HEATER_0_PIN,LOW);
#endif
#endif
#if TEMP_1_PIN > -1
target_raw[1]=0;
#if HEATER_1_PIN > -1
-
WRITE
(HEATER_1_PIN,LOW);
+
digitalWrite
(HEATER_1_PIN,LOW);
#endif
#endif
#if TEMP_2_PIN > -1
target_raw[2]=0;
#if HEATER_2_PIN > -1
-
WRITE
(HEATER_2_PIN,LOW);
+
digitalWrite
(HEATER_2_PIN,LOW);
#endif
#endif
}