|
|
@ -166,6 +166,7 @@ void Config_StoreSettings() {
|
|
|
|
dummy = 0.0f;
|
|
|
|
dummy = 0.0f;
|
|
|
|
for (int q = 3; q--;) EEPROM_WRITE_VAR(i, dummy);
|
|
|
|
for (int q = 3; q--;) EEPROM_WRITE_VAR(i, dummy);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} // Extruders Loop
|
|
|
|
} // Extruders Loop
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DOGLCD
|
|
|
|
#ifndef DOGLCD
|
|
|
@ -290,12 +291,12 @@ void Config_RetrieveSettings() {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
for (int q=3; q--;) EEPROM_READ_VAR(i, dummy);
|
|
|
|
for (int q=3; q--;) EEPROM_READ_VAR(i, dummy); // Ki, Kd, Kc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#else // !PIDTEMP
|
|
|
|
#else // !PIDTEMP
|
|
|
|
// 4 x 3 = 12 slots for PID parameters
|
|
|
|
// 4 x 4 = 16 slots for PID parameters
|
|
|
|
for (int q=12; q--;) EEPROM_READ_VAR(i, dummy);
|
|
|
|
for (int q=16; q--;) EEPROM_READ_VAR(i, dummy); // 4x Kp, Ki, Kd, Kc
|
|
|
|
#endif // !PIDTEMP
|
|
|
|
#endif // !PIDTEMP
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DOGLCD
|
|
|
|
#ifndef DOGLCD
|
|
|
|