Browse Source

make it compile without autotemp

Bernhard Kubicek 13 years ago
parent
commit
2a6afee832
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/Marlin.pde

+ 4
- 2
Marlin/Marlin.pde View File

@@ -694,8 +694,10 @@ inline void process_commands()
694 694
       break;
695 695
     case 109: 
696 696
     {// M109 - Wait for extruder heater to reach target.
697
-        LCD_MESSAGEPGM("Heating...");
698
-        autotemp_enabled=false;
697
+        LCD_MESSAGEPGM("Heating...");   
698
+        #ifdef AUTOTEMP
699
+          autotemp_enabled=false;
700
+        #endif
699 701
         if (code_seen('S')) setTargetHotend0(code_value());
700 702
         #ifdef AUTOTEMP
701 703
           if (code_seen('S')) autotemp_min=code_value();

Loading…
Cancel
Save