Remove unused #ifdef MK1BP
MK1BP is never defined anywhere
This commit is contained in:
parent
400f673fe0
commit
25408d14da
@ -2901,7 +2901,7 @@ static void gcode_G28(bool home_x_axis, long home_x_value, bool home_y_axis, lon
|
||||
raise_z_above(Z_RAISE_BEFORE_HOMING);
|
||||
st_synchronize();
|
||||
#endif // defined (Z_RAISE_BEFORE_HOMING) && (Z_RAISE_BEFORE_HOMING > 0)
|
||||
#if (defined(MESH_BED_LEVELING) && !defined(MK1BP)) // If Mesh bed leveling, move X&Y to safe position for home
|
||||
#ifdef MESH_BED_LEVELING // If Mesh bed leveling, move X&Y to safe position for home
|
||||
raise_z_above(MESH_HOME_Z_SEARCH);
|
||||
st_synchronize();
|
||||
if (!axis_known_position[X_AXIS]) homeaxis(X_AXIS);
|
||||
@ -3015,7 +3015,7 @@ static void gcode_G28(bool home_x_axis, long home_x_value, bool home_y_axis, lon
|
||||
// and correct the current_position XY axes to match the transformed coordinate system.
|
||||
world2machine_update_current();
|
||||
|
||||
#if (defined(MESH_BED_LEVELING) && !defined(MK1BP))
|
||||
#ifdef MESH_BED_LEVELING
|
||||
if (home_x_axis || home_y_axis || without_mbl || home_z_axis)
|
||||
{
|
||||
if (! home_z && mbl_was_active) {
|
||||
@ -5614,9 +5614,6 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
|
||||
*/
|
||||
|
||||
case 80: {
|
||||
#ifdef MK1BP
|
||||
break;
|
||||
#endif //MK1BP
|
||||
gcode_G80();
|
||||
}
|
||||
break;
|
||||
|
@ -2035,7 +2035,6 @@ static void lcd_support_menu()
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef MK1BP
|
||||
MENU_ITEM_BACK_P(STR_SEPARATOR);
|
||||
MENU_ITEM_SUBMENU_P(_i("XYZ cal. details"), lcd_menu_xyz_y_min);////MSG_XYZ_DETAILS c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("Extruder info"), lcd_menu_extruder_info);////MSG_INFO_EXTRUDER c=18
|
||||
@ -2068,8 +2067,6 @@ static void lcd_support_menu()
|
||||
MENU_ITEM_SUBMENU_P(PSTR("Debug"), lcd_menu_debug);////MSG_DEBUG c=18
|
||||
#endif /* DEBUG_BUILD */
|
||||
|
||||
#endif //MK1BP
|
||||
|
||||
MENU_END();
|
||||
}
|
||||
|
||||
@ -5777,11 +5774,6 @@ static void lcd_calibration_menu()
|
||||
MENU_ITEM_FUNCTION_P(_i("Belt test"), lcd_belttest_v);////MSG_BELTTEST c=18
|
||||
#endif //TMC2130
|
||||
MENU_ITEM_FUNCTION_P(_i("Selftest"), lcd_selftest_v);////MSG_SELFTEST c=18
|
||||
#ifdef MK1BP
|
||||
// MK1
|
||||
// "Calibrate Z"
|
||||
MENU_ITEM_GCODE_P(_T(MSG_HOMEYZ), PSTR("G28 Z"));
|
||||
#else //MK1BP
|
||||
// MK2
|
||||
MENU_ITEM_FUNCTION_P(_i("Calibrate XYZ"), lcd_mesh_calibration);////MSG_CALIBRATE_BED c=18
|
||||
// "Calibrate Z" with storing the reference values to EEPROM.
|
||||
@ -5792,25 +5784,19 @@ static void lcd_calibration_menu()
|
||||
// "Mesh Bed Leveling"
|
||||
MENU_ITEM_SUBMENU_P(_T(MSG_MESH_BED_LEVELING), lcd_mesh_bedleveling);
|
||||
|
||||
#endif //MK1BP
|
||||
|
||||
MENU_ITEM_SUBMENU_P(_i("Bed level correct"), lcd_adjust_bed);////MSG_BED_CORRECTION_MENU c=18
|
||||
MENU_ITEM_SUBMENU_P(_i("PID calibration"), pid_extruder);////MSG_PID_EXTRUDER c=17
|
||||
#ifndef TMC2130
|
||||
MENU_ITEM_SUBMENU_P(_i("Show end stops"), menu_show_end_stops);////MSG_SHOW_END_STOPS c=18
|
||||
#endif
|
||||
#ifndef MK1BP
|
||||
MENU_ITEM_GCODE_P(_i("Reset XYZ calibr."), PSTR("M44"));////MSG_CALIBRATE_BED_RESET c=18
|
||||
#endif //MK1BP
|
||||
#ifndef SNMM
|
||||
//MENU_ITEM_FUNCTION_P(MSG_RESET_CALIBRATE_E, lcd_extr_cal_reset);
|
||||
#endif
|
||||
#ifndef MK1BP
|
||||
if(has_temperature_compensation())
|
||||
{
|
||||
MENU_ITEM_SUBMENU_P(_i("Temp. calibration"), lcd_pinda_calibration_menu);////MSG_CALIBRATION_PINDA_MENU c=17
|
||||
}
|
||||
#endif //MK1BP
|
||||
}
|
||||
|
||||
MENU_END();
|
||||
|
Loading…
Reference in New Issue
Block a user