Parcourir la source

make it compile without autotemp

Bernhard Kubicek il y a 12 ans
Parent
révision
2a6afee832
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4
    2
      Marlin/Marlin.pde

+ 4
- 2
Marlin/Marlin.pde Voir le fichier

@@ -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();

Chargement…
Annuler
Enregistrer