update pid refix old bug

This commit is contained in:
InsanityAutomation
2019-08-20 18:44:20 -04:00
parent e249e380fc
commit f515f22313
2 changed files with 8 additions and 5 deletions
+3 -3
View File
@@ -827,9 +827,9 @@
#if ENABLED(HotendStock)
#if ANY(MachineCRX, MachineCR10SPro, MachineCR10Max)
#define DEFAULT_Kp 20.22
#define DEFAULT_Ki 3.43
#define DEFAULT_Kd 29.81
#define DEFAULT_Kp 24.62
#define DEFAULT_Ki 4.01
#define DEFAULT_Kd 37.81
#elif ENABLED(MachineEnder5Plus)
#define DEFAULT_Kp 14.72
#define DEFAULT_Ki 0.89
@@ -851,9 +851,12 @@ void RTSSHOW::RTS_HandleData()
{
babystepAxis_steps((400 * (getZOffset_mm() - tmp_zprobe_offset) * -1), (axis_t)Z);
setZOffset_mm(tmp_zprobe_offset);
RTS_SndData(getZOffset_mm() * 100, 0x1026);
injectCommands_P((PSTR("M500")));
}
injectCommands_P((PSTR("M500")));
else
{
RTS_SndData(getZOffset_mm() * 100, 0x1026);
}
break;
case TempControl: