|
@@ -191,8 +191,7 @@ static void updateTemperaturesFromRawValues();
|
191
|
191
|
//================================ Functions ================================
|
192
|
192
|
//===========================================================================
|
193
|
193
|
|
194
|
|
-void PID_autotune(float temp, int extruder, int ncycles)
|
195
|
|
-{
|
|
194
|
+void PID_autotune(float temp, int extruder, int ncycles) {
|
196
|
195
|
float input = 0.0;
|
197
|
196
|
int cycles = 0;
|
198
|
197
|
bool heating = true;
|
|
@@ -324,11 +323,11 @@ void PID_autotune(float temp, int extruder, int ncycles)
|
324
|
323
|
int p;
|
325
|
324
|
if (extruder < 0) {
|
326
|
325
|
p = soft_pwm_bed;
|
327
|
|
- SERIAL_PROTOCOLPGM(MSG_OK_B);
|
|
326
|
+ SERIAL_PROTOCOLPGM(MSG_B);
|
328
|
327
|
}
|
329
|
328
|
else {
|
330
|
329
|
p = soft_pwm[extruder];
|
331
|
|
- SERIAL_PROTOCOLPGM(MSG_OK_T);
|
|
330
|
+ SERIAL_PROTOCOLPGM(MSG_T);
|
332
|
331
|
}
|
333
|
332
|
|
334
|
333
|
SERIAL_PROTOCOL(input);
|