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

This commit is contained in:
Scott Lahteine 2016-03-20 18:48:16 -07:00
parent be08eb6153
commit 04a6924633

View file

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