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

2.0.x
Scott Lahteine 9 years ago
parent be08eb6153
commit 04a6924633

@ -360,6 +360,22 @@
#undef SD_DETECT_INVERTED #undef SD_DETECT_INVERTED
#endif #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 // Power Signal Control Definitions
// By default use ATX definition // By default use ATX definition
#ifndef POWER_SUPPLY #ifndef POWER_SUPPLY

Loading…
Cancel
Save