Browse Source

Fix bug in PID Autotune report

Cameron Lai 11 years ago
parent
commit
6460709d92
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp View File

258
               Kp = 0.33*Ku;
258
               Kp = 0.33*Ku;
259
               Ki = Kp/Tu;
259
               Ki = Kp/Tu;
260
               Kd = Kp*Tu/3;
260
               Kd = Kp*Tu/3;
261
-              SERIAL_PROTOCOLLNPGM(" Some overshoot ")
261
+              SERIAL_PROTOCOLLNPGM(" Some overshoot ");
262
               SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
262
               SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
263
               SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
263
               SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
264
               SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);
264
               SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);
265
               Kp = 0.2*Ku;
265
               Kp = 0.2*Ku;
266
               Ki = 2*Kp/Tu;
266
               Ki = 2*Kp/Tu;
267
               Kd = Kp*Tu/3;
267
               Kd = Kp*Tu/3;
268
-              SERIAL_PROTOCOLLNPGM(" No overshoot ")
268
+              SERIAL_PROTOCOLLNPGM(" No overshoot ");
269
               SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
269
               SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
270
               SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
270
               SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
271
               SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);
271
               SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);

Loading…
Cancel
Save