Browse Source

Fix Dual X FRS in M600

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>
Scott Lahteine 6 years ago
parent
commit
e4ee607fc8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/feature/pause/M600.cpp

+ 1
- 1
Marlin/src/gcode/feature/pause/M600.cpp View File

@@ -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…
Cancel
Save