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
2017-10-21 11:42:26 -05:00
committed by GitHub
parent adf168e68f
commit 72156a2029
17 changed files with 49 additions and 49 deletions

View File

@ -2810,7 +2810,7 @@ void kill_screen(const char* lcd_msg) {
#endif
// Set movement on a single axis
set_destination_to_current();
set_destination_from_current();
destination[manual_move_axis] += manual_move_offset;
// Reset for the next move
@ -2819,7 +2819,7 @@ void kill_screen(const char* lcd_msg) {
// Set a blocking flag so no new moves can be added until all segments are done
processing_manual_move = true;
prepare_move_to_destination(); // will call set_current_to_destination
prepare_move_to_destination(); // will call set_current_from_destination()
processing_manual_move = false;
feedrate_mm_s = old_feedrate;