Browse Source

Fix bad comparison (#17470)

* Suggested message change

* Fix Bad Comparison

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
InsanityAutomation 5 years ago
parent
commit
6ce0c94d12
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/tool_change.cpp

+ 1
- 1
Marlin/src/module/tool_change.cpp View File

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

Loading…
Cancel
Save