Remove unused setting PID_ADD_EXTRUSION_RATE
Even if the setting was turned on, it doesn't do anything useful.
This commit is contained in:
parent
b3532749ff
commit
c62c412cc3
5 changed files with 1 additions and 31 deletions
Firmware
|
@ -7766,13 +7766,12 @@ Sigma_Exit:
|
|||
See also <a href="https://reprap.org/wiki/PID_Tuning">PID Tuning.</a>
|
||||
#### Usage
|
||||
|
||||
M301 [ P | I | D | C ]
|
||||
M301 [ P | I | D ]
|
||||
|
||||
#### Parameters
|
||||
- `P` - proportional (Kp)
|
||||
- `I` - integral (Ki)
|
||||
- `D` - derivative (Kd)
|
||||
- `C` - heating power=Kc*(e_speed0)
|
||||
*/
|
||||
case 301:
|
||||
{
|
||||
|
@ -7780,10 +7779,6 @@ Sigma_Exit:
|
|||
if(code_seen('I')) cs.Ki = scalePID_i(code_value());
|
||||
if(code_seen('D')) cs.Kd = scalePID_d(code_value());
|
||||
|
||||
#ifdef PID_ADD_EXTRUSION_RATE
|
||||
if(code_seen('C')) Kc = code_value();
|
||||
#endif
|
||||
|
||||
updatePID();
|
||||
SERIAL_PROTOCOLRPGM(MSG_OK);
|
||||
SERIAL_PROTOCOLPGM(" p:");
|
||||
|
@ -7792,11 +7787,6 @@ Sigma_Exit:
|
|||
SERIAL_PROTOCOL(unscalePID_i(cs.Ki));
|
||||
SERIAL_PROTOCOLPGM(" d:");
|
||||
SERIAL_PROTOCOL(unscalePID_d(cs.Kd));
|
||||
#ifdef PID_ADD_EXTRUSION_RATE
|
||||
SERIAL_PROTOCOLPGM(" c:");
|
||||
//Kc does not have scaling applied above, or in resetting defaults
|
||||
SERIAL_PROTOCOL(Kc);
|
||||
#endif
|
||||
SERIAL_PROTOCOLLN();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue