mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-03 17:21:29 +00:00
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
@ -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…
Reference in New Issue
Block a user