mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
Make Conditionals.h a catch-all for old configs
This commit is contained in:
parent
c6226bb0aa
commit
8a44928df3
@ -21,12 +21,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Conditionals.h
|
* Conditionals_post.h
|
||||||
* Defines that depend on configuration but are not editable.
|
* Defines that depend on configuration but are not editable.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CONDITIONALS_H
|
|
||||||
#define CONDITIONALS_H
|
|
||||||
|
|
||||||
#include "pins.h"
|
#include "pins.h"
|
||||||
|
|
||||||
@ -36,6 +34,8 @@
|
|||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
|
#ifndef CONDITIONALS_POST_H
|
||||||
|
#define CONDITIONALS_POST_H
|
||||||
|
|
||||||
#if ENABLED(EMERGENCY_PARSER)
|
#if ENABLED(EMERGENCY_PARSER)
|
||||||
#define EMERGENCY_PARSER_CAPABILITIES " EMERGENCY_CODES:M108,M112,M410"
|
#define EMERGENCY_PARSER_CAPABILITIES " EMERGENCY_CODES:M108,M112,M410"
|
||||||
@ -675,4 +675,4 @@
|
|||||||
#define Z_RAISE_BETWEEN_PROBING MIN_Z_HEIGHT_FOR_HOMING
|
#define Z_RAISE_BETWEEN_PROBING MIN_Z_HEIGHT_FOR_HOMING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //CONDITIONALS_H
|
#endif // CONDITIONALS_POST_H
|
@ -26,7 +26,7 @@
|
|||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
#include "Conditionals_LCD.h"
|
#include "Conditionals_LCD.h"
|
||||||
#include "Configuration_adv.h"
|
#include "Configuration_adv.h"
|
||||||
#include "Conditionals.h"
|
#include "Conditionals_post.h"
|
||||||
#include "SanityCheck.h"
|
#include "SanityCheck.h"
|
||||||
|
|
||||||
#endif // MARLIN_CONFIG_H
|
#endif // MARLIN_CONFIG_H
|
||||||
|
Loading…
Reference in New Issue
Block a user