make it compile without autotemp

master
Bernhard Kubicek 13 years ago
parent f52e1a9571
commit 2a6afee832

@ -694,8 +694,10 @@ inline void process_commands()
break; break;
case 109: case 109:
{// M109 - Wait for extruder heater to reach target. {// M109 - Wait for extruder heater to reach target.
LCD_MESSAGEPGM("Heating..."); LCD_MESSAGEPGM("Heating...");
autotemp_enabled=false; #ifdef AUTOTEMP
autotemp_enabled=false;
#endif
if (code_seen('S')) setTargetHotend0(code_value()); if (code_seen('S')) setTargetHotend0(code_value());
#ifdef AUTOTEMP #ifdef AUTOTEMP
if (code_seen('S')) autotemp_min=code_value(); if (code_seen('S')) autotemp_min=code_value();

Loading…
Cancel
Save