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

@ -109,8 +109,8 @@ float Planner::min_feedrate_mm_s,
#endif
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
float Planner::z_fade_height = 0.0,
Planner::inverse_z_fade_height = 0.0;
float Planner::z_fade_height,
Planner::inverse_z_fade_height;
#endif
#if ENABLED(AUTOTEMP)