Change SERIAL_PROTOCOL to SERIAL_PROTOCOLPGM in a few lines
Saves 12 bytes of SRAM but increases flash use by 12 bytes.
This commit is contained in:
parent
97c371e5e8
commit
4a02ff3de8
@ -7786,14 +7786,14 @@ Sigma_Exit:
|
||||
|
||||
updatePID();
|
||||
SERIAL_PROTOCOLRPGM(MSG_OK);
|
||||
SERIAL_PROTOCOL(" p:");
|
||||
SERIAL_PROTOCOLPGM(" p:");
|
||||
SERIAL_PROTOCOL(cs.Kp);
|
||||
SERIAL_PROTOCOL(" i:");
|
||||
SERIAL_PROTOCOLPGM(" i:");
|
||||
SERIAL_PROTOCOL(unscalePID_i(cs.Ki));
|
||||
SERIAL_PROTOCOL(" d:");
|
||||
SERIAL_PROTOCOLPGM(" d:");
|
||||
SERIAL_PROTOCOL(unscalePID_d(cs.Kd));
|
||||
#ifdef PID_ADD_EXTRUSION_RATE
|
||||
SERIAL_PROTOCOL(" c:");
|
||||
SERIAL_PROTOCOLPGM(" c:");
|
||||
//Kc does not have scaling applied above, or in resetting defaults
|
||||
SERIAL_PROTOCOL(Kc);
|
||||
#endif
|
||||
@ -7824,11 +7824,11 @@ Sigma_Exit:
|
||||
|
||||
updatePID();
|
||||
SERIAL_PROTOCOLRPGM(MSG_OK);
|
||||
SERIAL_PROTOCOL(" p:");
|
||||
SERIAL_PROTOCOLPGM(" p:");
|
||||
SERIAL_PROTOCOL(cs.bedKp);
|
||||
SERIAL_PROTOCOL(" i:");
|
||||
SERIAL_PROTOCOLPGM(" i:");
|
||||
SERIAL_PROTOCOL(unscalePID_i(cs.bedKi));
|
||||
SERIAL_PROTOCOL(" d:");
|
||||
SERIAL_PROTOCOLPGM(" d:");
|
||||
SERIAL_PROTOCOLLN(unscalePID_d(cs.bedKd));
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user