chiark / gitweb /
make it compile without autotemp
authorBernhard Kubicek <kubicek@gmx.at>
Sat, 19 Nov 2011 16:09:33 +0000 (17:09 +0100)
committerBernhard Kubicek <kubicek@gmx.at>
Sat, 19 Nov 2011 16:09:33 +0000 (17:09 +0100)
Marlin/Marlin.pde

index c0fc8675c18803314ccedde5bc667d62f86fc2fd..f619854da3625a04efdb20ca2fca09dca25514e5 100644 (file)
@@ -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();