1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +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:
InsanityAutomation 2020-04-13 18:23:54 -04:00 committed by GitHub
parent e9c8da35c5
commit 6ce0c94d12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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