|
@ -43,6 +43,11 @@ |
|
|
#include "../../module/temperature.h" |
|
|
#include "../../module/temperature.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifdef FILAMENT_RUNOUT_DISTANCE_MM |
|
|
|
|
|
#include "../../feature/runout.h" |
|
|
|
|
|
float lcd_runout_distance_mm; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
void menu_tmc(); |
|
|
void menu_tmc(); |
|
|
void menu_backlash(); |
|
|
void menu_backlash(); |
|
|
|
|
|
|
|
@ -214,6 +219,12 @@ void menu_backlash(); |
|
|
#endif // EXTRUDERS > 1
|
|
|
#endif // EXTRUDERS > 1
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifdef FILAMENT_RUNOUT_DISTANCE_MM |
|
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(float3, MSG_RUNOUT_DISTANCE_MM, &lcd_runout_distance_mm, 1, 30, []{ |
|
|
|
|
|
runout.set_runout_distance(lcd_runout_distance_mm); |
|
|
|
|
|
}); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
END_MENU(); |
|
|
END_MENU(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -603,6 +614,9 @@ void menu_backlash(); |
|
|
#endif // !SLIM_LCD_MENUS
|
|
|
#endif // !SLIM_LCD_MENUS
|
|
|
|
|
|
|
|
|
void menu_advanced_settings() { |
|
|
void menu_advanced_settings() { |
|
|
|
|
|
#ifdef FILAMENT_RUNOUT_DISTANCE_MM |
|
|
|
|
|
lcd_runout_distance_mm = runout.runout_distance(); |
|
|
|
|
|
#endif |
|
|
START_MENU(); |
|
|
START_MENU(); |
|
|
MENU_BACK(MSG_CONFIGURATION); |
|
|
MENU_BACK(MSG_CONFIGURATION); |
|
|
|
|
|
|
|
|