Ver código fonte

Make DISABLE_INACTIVE_X, etc., the same as DISABLE_X (etc.) if missing

Scott Lahteine 9 anos atrás
pai
commit
04a6924633
1 arquivos alterados com 16 adições e 0 exclusões
  1. 16
    0
      Marlin/Conditionals.h

+ 16
- 0
Marlin/Conditionals.h Ver arquivo

@@ -360,6 +360,22 @@
360 360
     #undef SD_DETECT_INVERTED
361 361
   #endif
362 362
 
363
+  /**
364
+   * Set defaults for missing (newer) options
365
+   */
366
+  #ifndef DISABLE_INACTIVE_X
367
+    #define DISABLE_INACTIVE_X DISABLE_X
368
+  #endif
369
+  #ifndef DISABLE_INACTIVE_Y
370
+    #define DISABLE_INACTIVE_Y DISABLE_Y
371
+  #endif
372
+  #ifndef DISABLE_INACTIVE_Z
373
+    #define DISABLE_INACTIVE_Z DISABLE_Z
374
+  #endif
375
+  #ifndef DISABLE_INACTIVE_E
376
+    #define DISABLE_INACTIVE_E DISABLE_E
377
+  #endif
378
+
363 379
   // Power Signal Control Definitions
364 380
   // By default use ATX definition
365 381
   #ifndef POWER_SUPPLY

Carregando…
Cancelar
Salvar