Преглед изворни кода

Make Conditionals.h a catch-all for old configs

Scott Lahteine пре 9 година
родитељ
комит
8a44928df3
2 измењених фајлова са 5 додато и 5 уклоњено
  1. 4
    4
      Marlin/Conditionals_post.h
  2. 1
    1
      Marlin/MarlinConfig.h

Marlin/Conditionals.h → Marlin/Conditionals_post.h Прегледај датотеку

@@ -21,12 +21,10 @@
21 21
  */
22 22
 
23 23
 /**
24
- * Conditionals.h
24
+ * Conditionals_post.h
25 25
  * Defines that depend on configuration but are not editable.
26 26
  */
27 27
 
28
-#ifndef CONDITIONALS_H
29
-#define CONDITIONALS_H
30 28
 
31 29
   #include "pins.h"
32 30
 
@@ -36,6 +34,8 @@
36 34
   #include "Arduino.h"
37 35
 
38 36
   #include "macros.h"
37
+#ifndef CONDITIONALS_POST_H
38
+#define CONDITIONALS_POST_H
39 39
 
40 40
   #if ENABLED(EMERGENCY_PARSER)
41 41
     #define EMERGENCY_PARSER_CAPABILITIES " EMERGENCY_CODES:M108,M112,M410"
@@ -675,4 +675,4 @@
675 675
     #define Z_RAISE_BETWEEN_PROBING MIN_Z_HEIGHT_FOR_HOMING
676 676
   #endif
677 677
 
678
-#endif //CONDITIONALS_H
678
+#endif // CONDITIONALS_POST_H

+ 1
- 1
Marlin/MarlinConfig.h Прегледај датотеку

@@ -26,7 +26,7 @@
26 26
 #include "Configuration.h"
27 27
 #include "Conditionals_LCD.h"
28 28
 #include "Configuration_adv.h"
29
-#include "Conditionals.h"
29
+#include "Conditionals_post.h"
30 30
 #include "SanityCheck.h"
31 31
 
32 32
 #endif // MARLIN_CONFIG_H

Loading…
Откажи
Сачувај