|
|
@ -4465,6 +4465,9 @@ inline void gcode_M303() {
|
|
|
|
int c = code_seen('C') ? code_value_short() : 5;
|
|
|
|
int c = code_seen('C') ? code_value_short() : 5;
|
|
|
|
float temp = code_seen('S') ? code_value() : (e < 0 ? 70.0 : 150.0);
|
|
|
|
float temp = code_seen('S') ? code_value() : (e < 0 ? 70.0 : 150.0);
|
|
|
|
PID_autotune(temp, e, c);
|
|
|
|
PID_autotune(temp, e, c);
|
|
|
|
|
|
|
|
// Suppress a line mismatch error
|
|
|
|
|
|
|
|
gcode_LastN += 1;
|
|
|
|
|
|
|
|
FlushSerialRequestResend();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef SCARA
|
|
|
|
#ifdef SCARA
|
|
|
|