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

Simplify dock_sled() and some more probe tweaks #4162

Merged
merged 3 commits into from
Jun 28, 2016

Commits on Jun 28, 2016

  1. Simplify dock_sled()

    `dock_sled()` is never called with offset parameter - remove it.
    We move x only - so only that needs to be homed. Consequence is - we can home to z-min now with a sled probe!
    Feedrates are set and restored in `do_blocking_move()`.
    We already checked if the probe is deployed/stowed in deploy/stow_probe.
    ```
    if (z_loc < _Z_RAISE_PROBE_DEPLOY_STOW + 5) z_loc = _Z_RAISE_PROBE_DEPLOY_STOW;
    ```
    makes no sense - remove.
    Now the raise is the same for deploy/stow -> move before the if.
    Replace the if with a ternary.
    Instead writing LOW/HIGH use the boolean `stow` we already have.
    
    There is no reason for not using the sled probe in G29/M48 with 'E'.
    It takes a while but works. (tested!)
    AnHardt authored and thinkyhead committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    e616093 View commit details
    Browse the repository at this point in the history
  2. universalize axis_unhomed_error()

    AnHardt authored and thinkyhead committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    39883d0 View commit details
    Browse the repository at this point in the history
  3. Further cleanup of G28 for probes

    AnHardt authored and thinkyhead committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    e480ee0 View commit details
    Browse the repository at this point in the history