-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
G33 minor change #6558
Conversation
LVD-AC
commented
May 3, 2017
- further named remaining tests
- A and O parameters obsolete
- quick homing with home_delta()
- 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
Marlin/Marlin_main.cpp
Outdated
|
||
home_all_axes(); | ||
#if HOTENDS > 1 | ||
const uint8_t old_tool_index = active_extruder; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line is obsolete
There was a problem hiding this comment.
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.
Marlin/Marlin_main.cpp
Outdated
#if HAS_LEVELING | ||
set_bed_leveling_enabled(false); | ||
reset_bed_level; //after calibration bed-level will no longer be valid |
There was a problem hiding this comment.
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 ()
.
There was a problem hiding this comment.
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
Marlin/Marlin_main.cpp
Outdated
@@ -5412,11 +5411,14 @@ void home_all_axes() { gcode_G28(); } | |||
} | |||
|
|||
stepper.synchronize(); | |||
|
|||
home_all_axes(); | |||
endstops.enable(true); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
…ERIAL_PROTOCOL_F (MarlinFirmware#6584) also removed wayward 'address of' ampersand in setTargetHotend and setTargetBed parameters
Fixed USE_CONTROLLER_FAN #define usage
…x' into LVD_delta_autocal
…x' into LVD_delta_autocal
…ixes Update git helper scripts, config comments
…x' into LVD_delta_autocal
Squashed and cleaned in #6621 |