|
@@ -8801,6 +8801,9 @@ void uvlo_()
|
|
|
#endif
|
|
|
#endif
|
|
|
eeprom_update_word((uint16_t*)(EEPROM_EXTRUDEMULTIPLY), (uint16_t)extrudemultiply);
|
|
|
+#ifdef LIN_ADVANCE
|
|
|
+ eeprom_update_float((float*)(EEPROM_UVLO_LA_K), extruder_advance_K);
|
|
|
+#endif
|
|
|
|
|
|
// Finaly store the "power outage" flag.
|
|
|
if(sd_print) eeprom_update_byte((uint8_t*)EEPROM_UVLO, 1);
|
|
@@ -9046,6 +9049,9 @@ void recover_machine_state_after_power_panic(bool bTiny)
|
|
|
#endif
|
|
|
#endif
|
|
|
extrudemultiply = (int)eeprom_read_word((uint16_t*)(EEPROM_EXTRUDEMULTIPLY));
|
|
|
+#ifdef LIN_ADVANCE
|
|
|
+ extruder_advance_K = eeprom_read_float((float*)EEPROM_UVLO_LA_K);
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
void restore_print_from_eeprom() {
|