Added z_fade_height to EEPROM-Settings

Firmware was forgetting the z_fade_height in Planner, set by M420 Z<f>,
after each reset or loading settings from EEPROM. Added the float
z_fade_height to EEPROM-Storage, now remembers the value.
This commit is contained in:
james94jeans2
2017-02-21 13:49:31 +01:00
committed by Scott Lahteine
parent 7a704af5e6
commit 5b9476fe78
4 changed files with 90 additions and 34 deletions

View File

@ -307,6 +307,10 @@ float code_value_temp_diff();
void reset_bed_level();
#endif
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
void set_z_fade_height(const float zfh);
#endif
#if ENABLED(Z_DUAL_ENDSTOPS)
extern float z_endstop_adj;
#endif