Merge pull request #569 from hg42/convert-PROTOCOL-macros-from-statements-to-expressions

convert PROTOCOL macros from statements to (multiple, comma separated) expressions
This commit is contained in:
ErikZalm
2013-08-02 13:13:29 -07:00
2 changed files with 8 additions and 8 deletions

View File

@ -244,7 +244,7 @@ void PID_autotune(float temp, int extruder, int ncycles)
Kp = 0.6*Ku;
Ki = 2*Kp/Tu;
Kd = Kp*Tu/8;
SERIAL_PROTOCOLLNPGM(" Clasic PID ")
SERIAL_PROTOCOLLNPGM(" Clasic PID ");
SERIAL_PROTOCOLPGM(" Kp: "); SERIAL_PROTOCOLLN(Kp);
SERIAL_PROTOCOLPGM(" Ki: "); SERIAL_PROTOCOLLN(Ki);
SERIAL_PROTOCOLPGM(" Kd: "); SERIAL_PROTOCOLLN(Kd);