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:
e4d2138
)
Wrap the call to turn off the bed heater in a #if to prevent a compile error on board...
author
Logan Bowers
<logan@datacurrent.com>
Thu, 26 Apr 2012 02:22:38 +0000
(19:22 -0700)
committer
Logan Bowers
<logan@datacurrent.com>
Thu, 26 Apr 2012 02:22:38 +0000
(19:22 -0700)
Marlin/temperature.cpp
patch
|
blob
|
history
diff --git
a/Marlin/temperature.cpp
b/Marlin/temperature.cpp
index 2180f8003616cbe41249772797d3013be7a8faf5..783aa232d8c38994ec9ac01f7518ea1f0cbfaf28 100644
(file)
--- a/
Marlin/temperature.cpp
+++ b/
Marlin/temperature.cpp
@@
-725,7
+725,9
@@
void min_temp_error(uint8_t e) {
}
void bed_max_temp_error(void) {
+#if HEATER_BED_PIN > -1
WRITE(HEATER_BED_PIN, 0);
+#endif
if(IsStopped() == false) {
SERIAL_ERROR_START;
SERIAL_ERRORLNPGM("Temperature heated bed switched off. MAXTEMP triggered !!");