Browse Source

Fix bad comparison (#17470)

* Suggested message change

* Fix Bad Comparison

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
vanilla_fb_2.0.x
InsanityAutomation 5 years ago
committed by GitHub
parent
commit
6ce0c94d12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/module/tool_change.cpp

2
Marlin/src/module/tool_change.cpp

@ -821,7 +821,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
if (new_tool >= EXTRUDERS)
return invalid_extruder_error(new_tool);
if (!no_move && !homing_needed()) {
if (!no_move && homing_needed()) {
no_move = true;
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("No move (not homed)");
}

Loading…
Cancel
Save