Fix bad comparison (#17470)
* Suggested message change * Fix Bad Comparison Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
parent
e9c8da35c5
commit
6ce0c94d12
1 changed files with 1 additions and 1 deletions
|
@ -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)");
|
||||
}
|
||||
|
|
Reference in a new issue