|
@@ -232,7 +232,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -4968,48 +4968,6 @@ Sigma_Exit:
|
|
|
#endif
|
|
|
break;
|
|
|
|
|
|
-#ifdef PINDA_THERMISTOR
|
|
|
-case 666:
|
|
|
- {
|
|
|
- int setTargetPinda = 0;
|
|
|
-
|
|
|
- if (code_seen('S')) {
|
|
|
- setTargetPinda = code_value();
|
|
|
- } else {
|
|
|
- break;
|
|
|
- }
|
|
|
-
|
|
|
- LCD_MESSAGERPGM(MSG_PLEASE_WAIT);
|
|
|
-
|
|
|
- SERIAL_PROTOCOLPGM("Wait for PINDA target temperature:");
|
|
|
- SERIAL_PROTOCOL(setTargetPinda);
|
|
|
- SERIAL_PROTOCOLLN("");
|
|
|
-
|
|
|
- codenum = millis();
|
|
|
- cancel_heatup = false;
|
|
|
-
|
|
|
- KEEPALIVE_STATE(NOT_BUSY);
|
|
|
-
|
|
|
- while ( (!cancel_heatup) && current_temperature_pinda < setTargetPinda) {
|
|
|
- if(( millis() - codenum) > 1000 )
|
|
|
- {
|
|
|
- SERIAL_PROTOCOLPGM("P:");
|
|
|
- SERIAL_PROTOCOL_F(current_temperature_pinda,1);
|
|
|
- SERIAL_PROTOCOLPGM("/");
|
|
|
- SERIAL_PROTOCOL(setTargetPinda);
|
|
|
- SERIAL_PROTOCOLLN("");
|
|
|
- codenum = millis();
|
|
|
- }
|
|
|
- manage_heater();
|
|
|
- manage_inactivity();
|
|
|
- lcd_update();
|
|
|
- }
|
|
|
- LCD_MESSAGERPGM(MSG_OK);
|
|
|
-
|
|
|
- break;
|
|
|
- }
|
|
|
-#endif
|
|
|
-
|
|
|
#if defined(FAN_PIN) && FAN_PIN > -1
|
|
|
case 106:
|
|
|
if (code_seen('S')){
|
|
@@ -6264,6 +6222,49 @@ case 666:
|
|
|
}
|
|
|
break;
|
|
|
|
|
|
+#ifdef PINDA_THERMISTOR
|
|
|
+ case 860:
|
|
|
+ {
|
|
|
+ int setTargetPinda = 0;
|
|
|
+
|
|
|
+ if (code_seen('S')) {
|
|
|
+ setTargetPinda = code_value();
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+
|
|
|
+ LCD_MESSAGERPGM(MSG_PLEASE_WAIT);
|
|
|
+
|
|
|
+ SERIAL_PROTOCOLPGM("Wait for PINDA target temperature:");
|
|
|
+ SERIAL_PROTOCOL(setTargetPinda);
|
|
|
+ SERIAL_PROTOCOLLN("");
|
|
|
+
|
|
|
+ codenum = millis();
|
|
|
+ cancel_heatup = false;
|
|
|
+
|
|
|
+ KEEPALIVE_STATE(NOT_BUSY);
|
|
|
+
|
|
|
+ while ((!cancel_heatup) && current_temperature_pinda < setTargetPinda) {
|
|
|
+ if ((millis() - codenum) > 1000)
|
|
|
+ {
|
|
|
+ SERIAL_PROTOCOLPGM("P:");
|
|
|
+ SERIAL_PROTOCOL_F(current_temperature_pinda, 1);
|
|
|
+ SERIAL_PROTOCOLPGM("/");
|
|
|
+ SERIAL_PROTOCOL(setTargetPinda);
|
|
|
+ SERIAL_PROTOCOLLN("");
|
|
|
+ codenum = millis();
|
|
|
+ }
|
|
|
+ manage_heater();
|
|
|
+ manage_inactivity();
|
|
|
+ lcd_update();
|
|
|
+ }
|
|
|
+ LCD_MESSAGERPGM(MSG_OK);
|
|
|
+
|
|
|
+ break;
|
|
|
+ }
|
|
|
+#endif
|
|
|
+
|
|
|
#ifdef LIN_ADVANCE
|
|
|
case 900:
|
|
|
gcode_M900();
|