Browse Source

Make Conditionals.h a catch-all for old configs

pull/1/head
Scott Lahteine 9 years ago
parent
commit
8a44928df3
  1. 8
      Marlin/Conditionals_post.h
  2. 2
      Marlin/MarlinConfig.h

8
Marlin/Conditionals.h → Marlin/Conditionals_post.h

@ -21,12 +21,10 @@
*/
/**
* Conditionals.h
* Conditionals_post.h
* Defines that depend on configuration but are not editable.
*/
#ifndef CONDITIONALS_H
#define CONDITIONALS_H
#include "pins.h"
@ -36,6 +34,8 @@
#include "Arduino.h"
#include "macros.h"
#ifndef CONDITIONALS_POST_H
#define CONDITIONALS_POST_H
#if ENABLED(EMERGENCY_PARSER)
#define EMERGENCY_PARSER_CAPABILITIES " EMERGENCY_CODES:M108,M112,M410"
@ -675,4 +675,4 @@
#define Z_RAISE_BETWEEN_PROBING MIN_Z_HEIGHT_FOR_HOMING
#endif
#endif //CONDITIONALS_H
#endif // CONDITIONALS_POST_H

2
Marlin/MarlinConfig.h

@ -26,7 +26,7 @@
#include "Configuration.h"
#include "Conditionals_LCD.h"
#include "Configuration_adv.h"
#include "Conditionals.h"
#include "Conditionals_post.h"
#include "SanityCheck.h"
#endif // MARLIN_CONFIG_H

Loading…
Cancel
Save