Browse Source

Also reset the PID values to defaults. Fixes #281

pull/1/head
daid303 12 years ago
parent
commit
5d471e0f34
  1. 8
      Marlin/EEPROMwrite.h

8
Marlin/EEPROMwrite.h

@ -212,6 +212,14 @@ inline void EEPROM_RetrieveSettings(bool def=false)
absPreheatHotendTemp = ABS_PREHEAT_HOTEND_TEMP;
absPreheatHPBTemp = ABS_PREHEAT_HPB_TEMP;
absPreheatFanSpeed = ABS_PREHEAT_FAN_SPEED;
#endif
#ifdef PIDTEMP
Kp = DEFAULT_Kp;
Ki = DEFAULT_Ki;
Kd = DEFAULT_Kp;
#ifdef PID_ADD_EXTRUSION_RATE
Kc = DEFAULT_Kc;
#endif
#endif
}
#ifdef EEPROM_CHITCHAT

Loading…
Cancel
Save