瀏覽代碼

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

Scott Lahteine 9 年之前
父節點
當前提交
04a6924633
共有 1 個檔案被更改,包括 16 行新增0 行删除
  1. 16
    0
      Marlin/Conditionals.h

+ 16
- 0
Marlin/Conditionals.h 查看文件

@@ -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

Loading…
取消
儲存