make it compile without autotemp

This commit is contained in:
Bernhard Kubicek 2011-11-19 17:09:33 +01:00
parent f52e1a9571
commit 2a6afee832

View file

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