Browse Source

Fix formatting

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
6599e4ea53
  1. 4
      Marlin/src/lcd/menu/menu_tramming.cpp

4
Marlin/src/lcd/menu/menu_tramming.cpp

@ -44,7 +44,7 @@ static uint8_t tram_index = 0;
bool probe_single_point() { bool probe_single_point() {
do_blocking_move_to_z(TERN(BLTOUCH, Z_CLEARANCE_DEPLOY_PROBE, Z_CLEARANCE_BETWEEN_PROBES)); do_blocking_move_to_z(TERN(BLTOUCH, Z_CLEARANCE_DEPLOY_PROBE, Z_CLEARANCE_BETWEEN_PROBES));
//Stow after each point with BLTouch "HIGH SPEED" mode for push-pin safety // Stow after each point with BLTouch "HIGH SPEED" mode for push-pin safety
const float z_probed_height = probe.probe_at_point(screws_tilt_adjust_pos[tram_index], TERN(BLTOUCH_HS_MODE, PROBE_PT_STOW, PROBE_PT_RAISE), 0, true); const float z_probed_height = probe.probe_at_point(screws_tilt_adjust_pos[tram_index], TERN(BLTOUCH_HS_MODE, PROBE_PT_STOW, PROBE_PT_RAISE), 0, true);
DEBUG_ECHOLNPAIR("probe_single_point: ", z_probed_height, "mm"); DEBUG_ECHOLNPAIR("probe_single_point: ", z_probed_height, "mm");
z_measured[tram_index] = z_probed_height; z_measured[tram_index] = z_probed_height;
@ -82,7 +82,7 @@ void tramming_wizard_menu() {
ACTION_ITEM(MSG_BUTTON_DONE, []{ ACTION_ITEM(MSG_BUTTON_DONE, []{
probe.stow(); // Stow before exiting Tramming Wizard probe.stow(); // Stow before exiting Tramming Wizard
ui.goto_previous_screen_no_defer(); ui.goto_previous_screen_no_defer();
}); });
END_MENU(); END_MENU();
} }

Loading…
Cancel
Save