change to better (more clear) names (#8050)

set_destination_to_current() changed to set_destination_from_current()

set_current_to_destination() changed to set_current_from_destination()
This commit is contained in:
Roxy-3D authored and GitHub committed 2017-10-21 11:42:26 -05:00
1 parent adf168e68f
commit 72156a2029
17 files changed
+49 -49

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ static bool G38_run_probe() {
#if ENABLED(PROBE_DOUBLE_TOUCH)
// Move away by the retract distance
set_destination_to_current();
set_destination_from_current();
LOOP_XYZ(i) destination[i] += retract_mm[i];
endstops.enable(false);
prepare_move_to_destination();