Browse Source

2 is DXC_DUPLICATION_MODE

Scott Lahteine 8 years ago
parent
commit
53e6c33c37
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -8266,7 +8266,7 @@ inline void gcode_M503() {
8266 8266
 
8267 8267
   inline void gcode_M605() {
8268 8268
     stepper.synchronize();
8269
-    extruder_duplication_enabled = code_seen('S') && code_value_int() == 2;
8269
+    extruder_duplication_enabled = code_seen('S') && code_value_int() == (int)DXC_DUPLICATION_MODE;
8270 8270
     SERIAL_ECHO_START;
8271 8271
     SERIAL_ECHOLNPAIR(MSG_DUPLICATION_MODE, extruder_duplication_enabled ? MSG_ON : MSG_OFF);
8272 8272
   }

Loading…
Cancel
Save