Erik van der Zalm 12 years ago
parent
commit
5a1787b2f4
1 changed files with 7 additions and 2 deletions
  1. 7
    2
      Marlin/Marlin.pde

+ 7
- 2
Marlin/Marlin.pde View File

33
 #include "Marlin.h"
33
 #include "Marlin.h"
34
 #include "speed_lookuptable.h"
34
 #include "speed_lookuptable.h"
35
 
35
 
36
-char version_string[] = "0.9.0";
36
+char version_string[] = "0.9.1";
37
 
37
 
38
 #ifdef SDSUPPORT
38
 #ifdef SDSUPPORT
39
 #include "SdFat.h"
39
 #include "SdFat.h"
783
       return;
783
       return;
784
       //break;
784
       //break;
785
     case 109: // M109 - Wait for extruder heater to reach target.
785
     case 109: // M109 - Wait for extruder heater to reach target.
786
-      if (code_seen('S')) target_raw = temp2analogh(code_value());
786
+      if (code_seen('S')) {
787
+        target_raw = temp2analogh(code_value());
788
+#ifdef PIDTEMP
789
+        pid_setpoint = code_value();
790
+#endif //PIDTEMP
791
+      }
787
 #ifdef WATCHPERIOD
792
 #ifdef WATCHPERIOD
788
       if(target_raw>current_raw){
793
       if(target_raw>current_raw){
789
         watchmillis = max(1,millis());
794
         watchmillis = max(1,millis());

Loading…
Cancel
Save