From 04a6924633bedc8d2299e314ffeec60111beac41 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 20 Mar 2016 18:48:16 -0700 Subject: [PATCH] Make DISABLE_INACTIVE_X, etc., the same as DISABLE_X (etc.) if missing --- Marlin/Conditionals.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Marlin/Conditionals.h b/Marlin/Conditionals.h index f210a49cb..824252ac6 100644 --- a/Marlin/Conditionals.h +++ b/Marlin/Conditionals.h @@ -360,6 +360,22 @@ #undef SD_DETECT_INVERTED #endif + /** + * Set defaults for missing (newer) options + */ + #ifndef DISABLE_INACTIVE_X + #define DISABLE_INACTIVE_X DISABLE_X + #endif + #ifndef DISABLE_INACTIVE_Y + #define DISABLE_INACTIVE_Y DISABLE_Y + #endif + #ifndef DISABLE_INACTIVE_Z + #define DISABLE_INACTIVE_Z DISABLE_Z + #endif + #ifndef DISABLE_INACTIVE_E + #define DISABLE_INACTIVE_E DISABLE_E + #endif + // Power Signal Control Definitions // By default use ATX definition #ifndef POWER_SUPPLY