Fixing issue #297
This commit is contained in:
parent
625ac81acc
commit
40ce057a3e
@ -57,6 +57,10 @@ void Config_StoreSettings()
|
|||||||
EEPROM_WRITE_VAR(i,max_z_jerk);
|
EEPROM_WRITE_VAR(i,max_z_jerk);
|
||||||
EEPROM_WRITE_VAR(i,max_e_jerk);
|
EEPROM_WRITE_VAR(i,max_e_jerk);
|
||||||
EEPROM_WRITE_VAR(i,add_homeing);
|
EEPROM_WRITE_VAR(i,add_homeing);
|
||||||
|
#ifndef ULTIPANEL
|
||||||
|
int plaPreheatHotendTemp = PLA_PREHEAT_HOTEND_TEMP, plaPreheatHPBTemp = PLA_PREHEAT_HPB_TEMP, plaPreheatFanSpeed = PLA_PREHEAT_FAN_SPEED;
|
||||||
|
int absPreheatHotendTemp = ABS_PREHEAT_HOTEND_TEMP, absPreheatHPBTemp = ABS_PREHEAT_HPB_TEMP, absPreheatFanSpeed = ABS_PREHEAT_FAN_SPEED;
|
||||||
|
#endif
|
||||||
EEPROM_WRITE_VAR(i,plaPreheatHotendTemp);
|
EEPROM_WRITE_VAR(i,plaPreheatHotendTemp);
|
||||||
EEPROM_WRITE_VAR(i,plaPreheatHPBTemp);
|
EEPROM_WRITE_VAR(i,plaPreheatHPBTemp);
|
||||||
EEPROM_WRITE_VAR(i,plaPreheatFanSpeed);
|
EEPROM_WRITE_VAR(i,plaPreheatFanSpeed);
|
||||||
@ -171,6 +175,10 @@ void Config_RetrieveSettings()
|
|||||||
EEPROM_READ_VAR(i,max_z_jerk);
|
EEPROM_READ_VAR(i,max_z_jerk);
|
||||||
EEPROM_READ_VAR(i,max_e_jerk);
|
EEPROM_READ_VAR(i,max_e_jerk);
|
||||||
EEPROM_READ_VAR(i,add_homeing);
|
EEPROM_READ_VAR(i,add_homeing);
|
||||||
|
#ifndef ULTIPANEL
|
||||||
|
int plaPreheatHotendTemp, plaPreheatHPBTemp, plaPreheatFanSpeed;
|
||||||
|
int absPreheatHotendTemp, absPreheatHPBTemp, absPreheatFanSpeed;
|
||||||
|
#endif
|
||||||
EEPROM_READ_VAR(i,plaPreheatHotendTemp);
|
EEPROM_READ_VAR(i,plaPreheatHotendTemp);
|
||||||
EEPROM_READ_VAR(i,plaPreheatHPBTemp);
|
EEPROM_READ_VAR(i,plaPreheatHPBTemp);
|
||||||
EEPROM_READ_VAR(i,plaPreheatFanSpeed);
|
EEPROM_READ_VAR(i,plaPreheatFanSpeed);
|
||||||
|
Loading…
Reference in New Issue
Block a user