Fixing issue #297
This commit is contained in:
parent
625ac81acc
commit
40ce057a3e
1 changed files with 9 additions and 1 deletions
|
@ -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,12 +175,16 @@ 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);
|
||||||
EEPROM_READ_VAR(i,absPreheatHotendTemp);
|
EEPROM_READ_VAR(i,absPreheatHotendTemp);
|
||||||
EEPROM_READ_VAR(i,absPreheatHPBTemp);
|
EEPROM_READ_VAR(i,absPreheatHPBTemp);
|
||||||
EEPROM_READ_VAR(i,absPreheatFanSpeed);
|
EEPROM_READ_VAR(i,absPreheatFanSpeed);
|
||||||
#ifndef PIDTEMP
|
#ifndef PIDTEMP
|
||||||
float Kp,Ki,Kd;
|
float Kp,Ki,Kd;
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in a new issue