make it compile without autotemp
This commit is contained in:
parent
f52e1a9571
commit
2a6afee832
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Reference in a new issue