make it compile without autotemp

master
Bernhard Kubicek 13 years ago
parent f52e1a9571
commit 2a6afee832

@ -695,7 +695,9 @@ inline void process_commands()
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...");
#ifdef AUTOTEMP
autotemp_enabled=false; 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