From 2a6afee83292e5b741cb99ca4b7b30b7acfe7529 Mon Sep 17 00:00:00 2001 From: Bernhard Kubicek Date: Sat, 19 Nov 2011 17:09:33 +0100 Subject: [PATCH] make it compile without autotemp --- Marlin/Marlin.pde | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index c0fc8675c..f619854da 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -694,8 +694,10 @@ inline void process_commands() break; case 109: {// M109 - Wait for extruder heater to reach target. - LCD_MESSAGEPGM("Heating..."); - autotemp_enabled=false; + LCD_MESSAGEPGM("Heating..."); + #ifdef AUTOTEMP + autotemp_enabled=false; + #endif if (code_seen('S')) setTargetHotend0(code_value()); #ifdef AUTOTEMP if (code_seen('S')) autotemp_min=code_value();