Browse Source

Fix R-H compatibility

* R-H reads incorrect M301 line from EEPROM output if more than one is
present. Reverted to original output format, using only E0 value.
pull/1/head
grob6000 10 years ago
parent
commit
3e2af67ce3
  1. 13
      Marlin/ConfigurationStore.cpp

13
Marlin/ConfigurationStore.cpp

@ -231,18 +231,11 @@ SERIAL_ECHOLNPGM("Scaling factors:");
#ifdef PIDTEMP
SERIAL_ECHO_START;
SERIAL_ECHOLNPGM("PID settings:");
for (int e = 0; e < EXTRUDERS; e++)
{
SERIAL_ECHO_START;
SERIAL_ECHOPAIR(" M301 E", (long unsigned int)e);
SERIAL_ECHOPAIR(" P", Kp[e]);
SERIAL_ECHOPAIR(" I" ,unscalePID_i(Ki[e]));
SERIAL_ECHOPAIR(" D" ,unscalePID_d(Kd[e]));
#ifdef PID_ADD_EXTRUSION_RATE
SERIAL_ECHOPAIR(" C" ,Kc[e]);
#endif//PID_ADD_EXTRUSION_RATE
SERIAL_ECHOPAIR(" M301 P", Kp[0]); // for compatibility with hosts, only echos values for E0
SERIAL_ECHOPAIR(" I" ,unscalePID_i(Ki[0]));
SERIAL_ECHOPAIR(" D" ,unscalePID_d(Kd[0]));
SERIAL_ECHOLN("");
}
#endif//PIDTEMP
#ifdef FWRETRACT
SERIAL_ECHO_START;

Loading…
Cancel
Save