|
@@ -33,7 +33,7 @@
|
33
|
33
|
#include "Marlin.h"
|
34
|
34
|
#include "speed_lookuptable.h"
|
35
|
35
|
|
36
|
|
-char version_string[] = "0.9.0";
|
|
36
|
+char version_string[] = "0.9.1";
|
37
|
37
|
|
38
|
38
|
#ifdef SDSUPPORT
|
39
|
39
|
#include "SdFat.h"
|
|
@@ -783,7 +783,12 @@ inline void process_commands()
|
783
|
783
|
return;
|
784
|
784
|
//break;
|
785
|
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
|
792
|
#ifdef WATCHPERIOD
|
788
|
793
|
if(target_raw>current_raw){
|
789
|
794
|
watchmillis = max(1,millis());
|