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:
7b1e295
)
Corrected active_extruder when autotemp is used.
author
Erik van der Zalm
<erik@vdzalm.eu>
Thu, 8 Mar 2012 21:04:13 +0000
(22:04 +0100)
committer
Erik van der Zalm
<erik@vdzalm.eu>
Thu, 8 Mar 2012 21:04:13 +0000
(22:04 +0100)
Marlin/temperature.h
patch
|
blob
|
history
diff --git
a/Marlin/temperature.h
b/Marlin/temperature.h
index c7a457fa15cf52d08b721e63e4ceccad022f7a12..e122a31f981d7f4ef9c3f747a0a99fedeba1ae40 100644
(file)
--- a/
Marlin/temperature.h
+++ b/
Marlin/temperature.h
@@
-153,8
+153,8
@@
FORCE_INLINE void autotempShutdown(){
if(autotemp_enabled)
{
autotemp_enabled=false;
- if(degTargetHotend(
ACTIVE_EXTRUDER
)>autotemp_min)
- setTargetHotend(0,
ACTIVE_EXTRUDER
);
+ if(degTargetHotend(
active_extruder
)>autotemp_min)
+ setTargetHotend(0,
active_extruder
);
}
#endif
}