|
|
@ -90,7 +90,7 @@ static void lcd_factory_settings() {
|
|
|
|
void menu_debug() {
|
|
|
|
void menu_debug() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
|
|
|
|
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(LCD_PROGRESS_BAR_TEST)
|
|
|
|
#if ENABLED(LCD_PROGRESS_BAR_TEST)
|
|
|
|
MENU_ITEM(submenu, MSG_PROGRESS_BAR_TEST, _progress_bar_test);
|
|
|
|
MENU_ITEM(submenu, MSG_PROGRESS_BAR_TEST, _progress_bar_test);
|
|
|
@ -107,7 +107,7 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
|
|
void menu_tool_change() {
|
|
|
|
void menu_tool_change() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
|
|
|
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
|
|
|
MENU_ITEM_EDIT(float3, MSG_FILAMENT_SWAP_LENGTH, &toolchange_settings.swap_length, 0, 200);
|
|
|
|
MENU_ITEM_EDIT(float3, MSG_FILAMENT_SWAP_LENGTH, &toolchange_settings.swap_length, 0, 200);
|
|
|
|
MENU_MULTIPLIER_ITEM_EDIT(int4, MSG_SINGLENOZZLE_RETRACT_SPD, &toolchange_settings.retract_speed, 10, 5400);
|
|
|
|
MENU_MULTIPLIER_ITEM_EDIT(int4, MSG_SINGLENOZZLE_RETRACT_SPD, &toolchange_settings.retract_speed, 10, 5400);
|
|
|
@ -133,7 +133,7 @@ static void lcd_factory_settings() {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
#if ENABLED(DUAL_X_CARRIAGE)
|
|
|
|
#if ENABLED(DUAL_X_CARRIAGE)
|
|
|
|
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float52, MSG_X_OFFSET, &hotend_offset[X_AXIS][1], MIN(X2_HOME_POS, X2_MAX_POS) - 25.0, MAX(X2_HOME_POS, X2_MAX_POS) + 25.0, _recalc_offsets);
|
|
|
|
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float52, MSG_X_OFFSET, &hotend_offset[X_AXIS][1], MIN(X2_HOME_POS, X2_MAX_POS) - 25.0, MAX(X2_HOME_POS, X2_MAX_POS) + 25.0, _recalc_offsets);
|
|
|
|
#else
|
|
|
|
#else
|
|
|
@ -152,7 +152,7 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
|
|
void menu_idex() {
|
|
|
|
void menu_idex() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
|
|
|
|
|
|
|
|
MENU_ITEM(gcode, MSG_IDEX_MODE_AUTOPARK, PSTR("M605 S1\nG28 X\nG1 X100"));
|
|
|
|
MENU_ITEM(gcode, MSG_IDEX_MODE_AUTOPARK, PSTR("M605 S1\nG28 X\nG1 X100"));
|
|
|
|
const bool need_g28 = !(TEST(axis_known_position, Y_AXIS) && TEST(axis_known_position, Z_AXIS));
|
|
|
|
const bool need_g28 = !(TEST(axis_known_position, Y_AXIS) && TEST(axis_known_position, Z_AXIS));
|
|
|
@ -174,7 +174,7 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
|
|
void menu_bltouch() {
|
|
|
|
void menu_bltouch() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
MENU_ITEM(function, MSG_BLTOUCH_RESET, bltouch._reset);
|
|
|
|
MENU_ITEM(function, MSG_BLTOUCH_RESET, bltouch._reset);
|
|
|
|
MENU_ITEM(function, MSG_BLTOUCH_SELFTEST, bltouch._selftest);
|
|
|
|
MENU_ITEM(function, MSG_BLTOUCH_SELFTEST, bltouch._selftest);
|
|
|
|
MENU_ITEM(function, MSG_BLTOUCH_DEPLOY, bltouch._deploy);
|
|
|
|
MENU_ITEM(function, MSG_BLTOUCH_DEPLOY, bltouch._deploy);
|
|
|
@ -194,7 +194,7 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
|
|
void menu_case_light() {
|
|
|
|
void menu_case_light() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(uint8, MSG_CASE_LIGHT_BRIGHTNESS, &case_light_brightness, 0, 255, update_case_light, true);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(uint8, MSG_CASE_LIGHT_BRIGHTNESS, &case_light_brightness, 0, 255, update_case_light, true);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
|
|
|
|
END_MENU();
|
|
|
|
END_MENU();
|
|
|
@ -208,7 +208,7 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
|
|
void menu_config_retract() {
|
|
|
|
void menu_config_retract() {
|
|
|
|
START_MENU();
|
|
|
|
START_MENU();
|
|
|
|
MENU_BACK(MSG_CONTROL);
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
#if ENABLED(FWRETRACT_AUTORETRACT)
|
|
|
|
#if ENABLED(FWRETRACT_AUTORETRACT)
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_AUTORETRACT, &fwretract.autoretract_enabled, fwretract.refresh_autoretract);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_AUTORETRACT, &fwretract.autoretract_enabled, fwretract.refresh_autoretract);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|