Преглед на файлове

Fix Dual X FRS in M600

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>
Scott Lahteine преди 6 години
родител
ревизия
e4ee607fc8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      Marlin/src/gcode/feature/pause/M600.cpp

+ 1
- 1
Marlin/src/gcode/feature/pause/M600.cpp Целия файл

@@ -60,7 +60,7 @@ void GcodeSuite::M600() {
60 60
     int8_t DXC_ext = target_extruder;
61 61
     if (!parser.seen('T')) {  // If no tool index is specified, M600 was (probably) sent in response to filament runout.
62 62
                               // In this case, for duplicating modes set DXC_ext to the extruder that ran out.
63
-      #if ENABLED(FILAMENT_RUNOUT_SENSOR)
63
+      #if ENABLED(FILAMENT_RUNOUT_SENSOR) && NUM_RUNOUT_SENSORS > 1
64 64
         if (dxc_is_duplicating())
65 65
           DXC_ext = (READ(FIL_RUNOUT2_PIN) == FIL_RUNOUT_INVERTING) ? 1 : 0;
66 66
       #else

Loading…
Отказ
Запис