1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Fix a compile error with _lcd_set_z_fade_height

This commit is contained in:
Scott Lahteine 2017-06-07 10:21:34 -05:00
parent 8db1197c9b
commit 5d5ff36446

View File

@ -1731,7 +1731,10 @@ void kill_screen(const char* lcd_msg) {
static bool _level_state; static bool _level_state;
void _lcd_toggle_bed_leveling() { set_bed_leveling_enabled(_level_state); } void _lcd_toggle_bed_leveling() { set_bed_leveling_enabled(_level_state); }
void _lcd_set_z_fade_height() { set_z_fade_height(planner.z_fade_height); }
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
void _lcd_set_z_fade_height() { set_z_fade_height(planner.z_fade_height); }
#endif
/** /**
* Step 1: Bed Level entry-point * Step 1: Bed Level entry-point