Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G33 minor change #6558

Closed
wants to merge 23 commits into from
Closed

Conversation

LVD-AC
Copy link
Contributor

@LVD-AC LVD-AC commented May 3, 2017

  • further named remaining tests
  • A and O parameters obsolete
  • quick homing with home_delta()

LVD-AC added 3 commits May 3, 2017 06:33
- use home_delta() instead of home_all_axis
- further naming tests
- getting rid of O and A parameters: always quick P1
- one T parameter: changed to bool -> T1 (default when ommited) tower
angles on, T0 tower angles off

home_all_axes();
#if HOTENDS > 1
const uint8_t old_tool_index = active_extruder;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line is obsolete

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have my leave to remove it.

#if HAS_LEVELING
set_bed_leveling_enabled(false);
reset_bed_level; //after calibration bed-level will no longer be valid
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about reset_bed_level? To call it, add parentheses ().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, i'll do so tomorrow

@@ -5412,11 +5411,14 @@ void home_all_axes() { gcode_G28(); }
}

stepper.synchronize();

home_all_axes();
endstops.enable(true);
Copy link
Member

@thinkyhead thinkyhead May 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setup_for_endstop_or_probe_move perhaps here? And after homing, clean_up_after_endstop_or_probe_move… possibly… See if these functions do the right thing for this situation.

Copy link
Member

@thinkyhead thinkyhead May 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, after enabling endstops to do something, when done the method to call is endstops.not_homing() which will set them back to their global non-homing state.

@LVD-AC
Copy link
Contributor Author

LVD-AC commented May 7, 2017

Squashed and cleaned in #6621

@LVD-AC LVD-AC closed this May 7, 2017
@LVD-AC LVD-AC deleted the LVD_delta_autocal branch May 7, 2017 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants