🩹 Fix PRINTCOUNTER with EXTRUDERS 0 (#24063)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
committed by
Scott Lahteine
parent
99252cf0cd
commit
be6535e5f7
@ -207,7 +207,7 @@ void GcodeSuite::get_destination_from_command() {
|
||||
if (parser.floatval('F') > 0)
|
||||
feedrate_mm_s = parser.value_feedrate();
|
||||
|
||||
#if ENABLED(PRINTCOUNTER)
|
||||
#if BOTH(PRINTCOUNTER, HAS_EXTRUDERS)
|
||||
if (!DEBUGGING(DRYRUN) && !skip_move)
|
||||
print_job_timer.incFilamentUsed(destination.e - current_position.e);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user