Browse Source

Move LCD items to `Conditionals.h`

- `Conditionals.h` is included twice, setting LCD values the first time
Scott Lahteine 9 years ago
parent
commit
2c9bd15625
25 changed files with 59 additions and 440 deletions
  1. 0
    249
      Marlin/Conditionals.h
  2. 0
    155
      Marlin/Conditionals_lcd.h
  3. 0
    3
      Marlin/Configuration.h
  4. 5
    0
      Marlin/Configuration_adv.h
  5. 0
    3
      Marlin/configurator/config/Configuration.h
  6. 5
    0
      Marlin/configurator/config/Configuration_adv.h
  7. 0
    3
      Marlin/example_configurations/Felix/Configuration.h
  8. 4
    3
      Marlin/example_configurations/Felix/Configuration_DUAL.h
  9. 5
    0
      Marlin/example_configurations/Felix/Configuration_adv.h
  10. 0
    3
      Marlin/example_configurations/Hephestos/Configuration.h
  11. 5
    0
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  12. 0
    3
      Marlin/example_configurations/K8200/Configuration.h
  13. 5
    0
      Marlin/example_configurations/K8200/Configuration_adv.h
  14. 0
    3
      Marlin/example_configurations/SCARA/Configuration.h
  15. 5
    0
      Marlin/example_configurations/SCARA/Configuration_adv.h
  16. 0
    3
      Marlin/example_configurations/WITBOX/Configuration.h
  17. 5
    0
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  18. 0
    3
      Marlin/example_configurations/delta/generic/Configuration.h
  19. 5
    0
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  20. 0
    3
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  21. 5
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  22. 0
    3
      Marlin/example_configurations/makibox/Configuration.h
  23. 5
    0
      Marlin/example_configurations/makibox/Configuration_adv.h
  24. 0
    3
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  25. 5
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

+ 0
- 249
Marlin/Conditionals.h View File

@@ -1,249 +0,0 @@
1
-/**
2
- * Conditionals.h
3
- * Defines that depend on configuration but are not editable.
4
- */
5
-#ifndef CONDITIONALS_H
6
-  #define CONDITIONALS_H
7
-
8
-  #ifndef AT90USB
9
-    #define HardwareSerial_h // trick to disable the standard HWserial
10
-  #endif
11
-
12
-  #if (ARDUINO >= 100)
13
-    #include "Arduino.h"
14
-  #else
15
-    #include "WProgram.h"
16
-  #endif
17
-
18
-  #include "pins.h"
19
-
20
-  /**
21
-   * ENDSTOPPULLUPS
22
-   */
23
-  #ifdef ENDSTOPPULLUPS
24
-    #ifndef DISABLE_MAX_ENDSTOPS
25
-      #define ENDSTOPPULLUP_XMAX
26
-      #define ENDSTOPPULLUP_YMAX
27
-      #define ENDSTOPPULLUP_ZMAX
28
-    #endif
29
-    #ifndef DISABLE_MIN_ENDSTOPS
30
-      #define ENDSTOPPULLUP_XMIN
31
-      #define ENDSTOPPULLUP_YMIN
32
-      #define ENDSTOPPULLUP_ZMIN
33
-    #endif
34
-  #endif
35
-
36
-  /**
37
-   * Axis lengths
38
-   */
39
-  #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
40
-  #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
41
-  #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
42
-
43
-  /**
44
-   * SCARA
45
-   */
46
-  #ifdef SCARA
47
-    #undef SLOWDOWN
48
-    #define QUICK_HOME //SCARA needs Quickhome
49
-  #endif
50
-
51
-  /**
52
-   * AUTOSET LOCATIONS OF LIMIT SWITCHES
53
-   * Added by ZetaPhoenix 09-15-2012
54
-   */
55
-  #ifdef MANUAL_HOME_POSITIONS  // Use manual limit switch locations
56
-    #define X_HOME_POS MANUAL_X_HOME_POS
57
-    #define Y_HOME_POS MANUAL_Y_HOME_POS
58
-    #define Z_HOME_POS MANUAL_Z_HOME_POS
59
-  #else //!MANUAL_HOME_POSITIONS – Use home switch positions based on homing direction and travel limits
60
-    #ifdef BED_CENTER_AT_0_0
61
-      #define X_HOME_POS X_MAX_LENGTH * X_HOME_DIR * 0.5
62
-      #define Y_HOME_POS Y_MAX_LENGTH * Y_HOME_DIR * 0.5
63
-    #else
64
-      #define X_HOME_POS (X_HOME_DIR < 0 ? X_MIN_POS : X_MAX_POS)
65
-      #define Y_HOME_POS (Y_HOME_DIR < 0 ? Y_MIN_POS : Y_MAX_POS)
66
-    #endif
67
-    #define Z_HOME_POS (Z_HOME_DIR < 0 ? Z_MIN_POS : Z_MAX_POS)
68
-  #endif //!MANUAL_HOME_POSITIONS
69
-
70
-  /**
71
-   * Auto Bed Leveling
72
-   */
73
-  #ifdef ENABLE_AUTO_BED_LEVELING
74
-    // Boundaries for probing based on set limits
75
-    #define MIN_PROBE_X (max(X_MIN_POS, X_MIN_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
76
-    #define MAX_PROBE_X (min(X_MAX_POS, X_MAX_POS + X_PROBE_OFFSET_FROM_EXTRUDER))
77
-    #define MIN_PROBE_Y (max(Y_MIN_POS, Y_MIN_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
78
-    #define MAX_PROBE_Y (min(Y_MAX_POS, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
79
-  #endif
80
-
81
-  /**
82
-   * MAX_STEP_FREQUENCY differs for TOSHIBA
83
-   */
84
-  #ifdef CONFIG_STEPPERS_TOSHIBA
85
-    #define MAX_STEP_FREQUENCY 10000 // Max step frequency for Toshiba Stepper Controllers
86
-  #else
87
-    #define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
88
-  #endif
89
-
90
-  // MS1 MS2 Stepper Driver Microstepping mode table
91
-  #define MICROSTEP1 LOW,LOW
92
-  #define MICROSTEP2 HIGH,LOW
93
-  #define MICROSTEP4 LOW,HIGH
94
-  #define MICROSTEP8 HIGH,HIGH
95
-  #define MICROSTEP16 HIGH,HIGH
96
-
97
-  /**
98
-   * Advance calculated values
99
-   */
100
-  #ifdef ADVANCE
101
-    #define EXTRUSION_AREA (0.25 * D_FILAMENT * D_FILAMENT * 3.14159)
102
-    #define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS] / EXTRUSION_AREA)
103
-  #endif
104
-
105
-  #ifdef ULTIPANEL
106
-   #undef SDCARDDETECTINVERTED
107
-  #endif
108
-
109
-  // Power Signal Control Definitions
110
-  // By default use ATX definition
111
-  #ifndef POWER_SUPPLY
112
-    #define POWER_SUPPLY 1
113
-  #endif
114
-  // 1 = ATX
115
-  #if (POWER_SUPPLY == 1)
116
-    #define PS_ON_AWAKE  LOW
117
-    #define PS_ON_ASLEEP HIGH
118
-  #endif
119
-  // 2 = X-Box 360 203W
120
-  #if (POWER_SUPPLY == 2)
121
-    #define PS_ON_AWAKE  HIGH
122
-    #define PS_ON_ASLEEP LOW
123
-  #endif
124
-
125
-  /**
126
-   * Temp Sensor defines
127
-   */
128
-  #if TEMP_SENSOR_0 == -2
129
-    #define HEATER_0_USES_MAX6675
130
-  #elif TEMP_SENSOR_0 == -1
131
-    #define HEATER_0_USES_AD595
132
-  #elif TEMP_SENSOR_0 == 0
133
-    #undef HEATER_0_MINTEMP
134
-    #undef HEATER_0_MAXTEMP
135
-  #elif TEMP_SENSOR_0 > 0
136
-    #define THERMISTORHEATER_0 TEMP_SENSOR_0
137
-    #define HEATER_0_USES_THERMISTOR
138
-  #endif
139
-
140
-  #if TEMP_SENSOR_1 == -1
141
-    #define HEATER_1_USES_AD595
142
-  #elif TEMP_SENSOR_1 == 0
143
-    #undef HEATER_1_MINTEMP
144
-    #undef HEATER_1_MAXTEMP
145
-  #elif TEMP_SENSOR_1 > 0
146
-    #define THERMISTORHEATER_1 TEMP_SENSOR_1
147
-    #define HEATER_1_USES_THERMISTOR
148
-  #endif
149
-
150
-  #if TEMP_SENSOR_2 == -1
151
-    #define HEATER_2_USES_AD595
152
-  #elif TEMP_SENSOR_2 == 0
153
-    #undef HEATER_2_MINTEMP
154
-    #undef HEATER_2_MAXTEMP
155
-  #elif TEMP_SENSOR_2 > 0
156
-    #define THERMISTORHEATER_2 TEMP_SENSOR_2
157
-    #define HEATER_2_USES_THERMISTOR
158
-  #endif
159
-
160
-  #if TEMP_SENSOR_3 == -1
161
-    #define HEATER_3_USES_AD595
162
-  #elif TEMP_SENSOR_3 == 0
163
-    #undef HEATER_3_MINTEMP
164
-    #undef HEATER_3_MAXTEMP
165
-  #elif TEMP_SENSOR_3 > 0
166
-    #define THERMISTORHEATER_3 TEMP_SENSOR_3
167
-    #define HEATER_3_USES_THERMISTOR
168
-  #endif
169
-
170
-  #if TEMP_SENSOR_BED == -1
171
-    #define BED_USES_AD595
172
-  #elif TEMP_SENSOR_BED == 0
173
-    #undef BED_MINTEMP
174
-    #undef BED_MAXTEMP
175
-  #elif TEMP_SENSOR_BED > 0
176
-    #define THERMISTORBED TEMP_SENSOR_BED
177
-    #define BED_USES_THERMISTOR
178
-  #endif
179
-
180
-  /**
181
-   * ARRAY_BY_EXTRUDERS based on EXTRUDERS
182
-   */
183
-  #if EXTRUDERS > 3
184
-    #define ARRAY_BY_EXTRUDERS(v1, v2, v3, v4) { v1, v2, v3, v4 }
185
-  #elif EXTRUDERS > 2
186
-    #define ARRAY_BY_EXTRUDERS(v1, v2, v3, v4) { v1, v2, v3 }
187
-  #elif EXTRUDERS > 1
188
-    #define ARRAY_BY_EXTRUDERS(v1, v2, v3, v4) { v1, v2 }
189
-  #else
190
-    #define ARRAY_BY_EXTRUDERS(v1, v2, v3, v4) { v1 }
191
-  #endif
192
-
193
-  /**
194
-   * Shorthand for pin tests, for temperature.cpp
195
-   */
196
-  #define HAS_TEMP_0 (defined(TEMP_0_PIN) && TEMP_0_PIN >= 0)
197
-  #define HAS_TEMP_1 (defined(TEMP_1_PIN) && TEMP_1_PIN >= 0)
198
-  #define HAS_TEMP_2 (defined(TEMP_2_PIN) && TEMP_2_PIN >= 0)
199
-  #define HAS_TEMP_3 (defined(TEMP_3_PIN) && TEMP_3_PIN >= 0)
200
-  #define HAS_TEMP_BED (defined(TEMP_BED_PIN) && TEMP_BED_PIN >= 0)
201
-  #define HAS_FILAMENT_SENSOR (defined(FILAMENT_SENSOR) && defined(FILWIDTH_PIN) && FILWIDTH_PIN >= 0)
202
-  #define HAS_HEATER_0 (defined(HEATER_0_PIN) && HEATER_0_PIN >= 0)
203
-  #define HAS_HEATER_1 (defined(HEATER_1_PIN) && HEATER_1_PIN >= 0)
204
-  #define HAS_HEATER_2 (defined(HEATER_2_PIN) && HEATER_2_PIN >= 0)
205
-  #define HAS_HEATER_3 (defined(HEATER_3_PIN) && HEATER_3_PIN >= 0)
206
-  #define HAS_HEATER_BED (defined(HEATER_BED_PIN) && HEATER_BED_PIN >= 0)
207
-  #define HAS_AUTO_FAN_0 (defined(EXTRUDER_0_AUTO_FAN_PIN) && EXTRUDER_0_AUTO_FAN_PIN >= 0)
208
-  #define HAS_AUTO_FAN_1 (defined(EXTRUDER_1_AUTO_FAN_PIN) && EXTRUDER_1_AUTO_FAN_PIN >= 0)
209
-  #define HAS_AUTO_FAN_2 (defined(EXTRUDER_2_AUTO_FAN_PIN) && EXTRUDER_2_AUTO_FAN_PIN >= 0)
210
-  #define HAS_AUTO_FAN_3 (defined(EXTRUDER_3_AUTO_FAN_PIN) && EXTRUDER_3_AUTO_FAN_PIN >= 0)
211
-  #define HAS_AUTO_FAN HAS_AUTO_FAN_0 || HAS_AUTO_FAN_1 || HAS_AUTO_FAN_2 || HAS_AUTO_FAN_3
212
-  #define HAS_FAN (defined(FAN_PIN) && FAN_PIN >= 0)
213
-
214
-  /**
215
-   * Helper Macros for heaters and extruder fan
216
-   */
217
-  #define WRITE_HEATER_0P(v) WRITE(HEATER_0_PIN, v)
218
-  #if EXTRUDERS > 1 || defined(HEATERS_PARALLEL)
219
-    #define WRITE_HEATER_1(v) WRITE(HEATER_1_PIN, v)
220
-    #if EXTRUDERS > 2
221
-      #define WRITE_HEATER_2(v) WRITE(HEATER_2_PIN, v)
222
-      #if EXTRUDERS > 3
223
-        #define WRITE_HEATER_3(v) WRITE(HEATER_3_PIN, v)
224
-      #endif
225
-    #endif
226
-  #endif
227
-  #ifdef HEATERS_PARALLEL
228
-    #define WRITE_HEATER_0(v) { WRITE_HEATER_0P(v); WRITE_HEATER_1(v); }
229
-  #else
230
-    #define WRITE_HEATER_0(v) WRITE_HEATER_0P(v)
231
-  #endif
232
-  #if HAS_HEATER_BED
233
-    #define WRITE_HEATER_BED(v) WRITE(HEATER_BED_PIN, v)
234
-  #endif
235
-  #if HAS_FAN
236
-    #define WRITE_FAN(v) WRITE(FAN_PIN, v)
237
-  #endif
238
-
239
-  /**
240
-   * Sampling period of the temperature routine
241
-   * This override comes originally from temperature.cpp
242
-   * The Configuration.h option is basically ignored.
243
-   */
244
-  #ifdef PID_dT
245
-    #undef PID_dT
246
-  #endif
247
-  #define PID_dT ((OVERSAMPLENR * 12.0)/(F_CPU / 64.0 / 256.0))
248
-
249
-#endif //CONDITIONALS_H

+ 0
- 155
Marlin/Conditionals_lcd.h View File

@@ -1,155 +0,0 @@
1
-/**
2
- * Conditionals_lcd.h
3
- * LCD-oriented defines that depend on configuration.
4
- */
5
-#ifndef CONDITIONALS_LCD_H
6
-  #define CONDITIONALS_LCD_H
7
-
8
-  #if defined(MAKRPANEL)
9
-    #define DOGLCD
10
-    #define SDSUPPORT
11
-    #define DEFAULT_LCD_CONTRAST 17
12
-    #define ULTIPANEL
13
-    #define NEWPANEL
14
-  #endif
15
-
16
-  #if defined(miniVIKI) || defined(VIKI2)
17
-    #define ULTRA_LCD  //general LCD support, also 16x2
18
-    #define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
19
-    #define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
20
-
21
-    #ifdef miniVIKI
22
-      #define DEFAULT_LCD_CONTRAST 95
23
-    #else
24
-      #define DEFAULT_LCD_CONTRAST 40
25
-    #endif
26
-
27
-    #define ENCODER_PULSES_PER_STEP 4
28
-    #define ENCODER_STEPS_PER_MENU_ITEM 1
29
-  #endif
30
-
31
-  #ifdef PANEL_ONE
32
-    #define SDSUPPORT
33
-    #define ULTIMAKERCONTROLLER
34
-  #endif
35
-
36
-  #ifdef REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
37
-    #define DOGLCD
38
-    #define U8GLIB_ST7920
39
-    #define REPRAP_DISCOUNT_SMART_CONTROLLER
40
-  #endif
41
-
42
-  #if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
43
-    #define ULTIPANEL
44
-    #define NEWPANEL
45
-  #endif
46
-
47
-  #ifdef REPRAPWORLD_KEYPAD
48
-    #define ULTIPANEL
49
-    #define NEWPANEL
50
-  #endif
51
-
52
-  #ifdef RA_CONTROL_PANEL
53
-    #define LCD_I2C_TYPE_PCA8574
54
-    #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
55
-    #define ULTIPANEL
56
-    #define NEWPANEL
57
-  #endif
58
-
59
-  /**
60
-   * I2C PANELS
61
-   */
62
-
63
-  #ifdef LCD_I2C_SAINSMART_YWROBOT
64
-    // This uses the LiquidCrystal_I2C library ( https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home )
65
-    // Make sure it is placed in the Arduino libraries directory.
66
-    #define LCD_I2C_TYPE_PCF8575
67
-    #define LCD_I2C_ADDRESS 0x27   // I2C Address of the port expander
68
-    #define ULTIPANEL
69
-    #define NEWPANEL
70
-  #endif
71
-
72
-  // PANELOLU2 LCD with status LEDs, separate encoder and click inputs
73
-  #ifdef LCD_I2C_PANELOLU2
74
-    // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
75
-    // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
76
-    // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)
77
-    // Note: The PANELOLU2 encoder click input can either be directly connected to a pin
78
-    //       (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).
79
-    #define LCD_I2C_TYPE_MCP23017
80
-    #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
81
-    #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
82
-
83
-    #ifndef ENCODER_PULSES_PER_STEP
84
-      #define ENCODER_PULSES_PER_STEP 4
85
-    #endif
86
-
87
-    #ifndef ENCODER_STEPS_PER_MENU_ITEM
88
-      #define ENCODER_STEPS_PER_MENU_ITEM 1
89
-    #endif
90
-
91
-    #ifdef LCD_USE_I2C_BUZZER
92
-      #define LCD_FEEDBACK_FREQUENCY_HZ 1000
93
-      #define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100
94
-    #endif
95
-
96
-    #define ULTIPANEL
97
-    #define NEWPANEL
98
-  #endif
99
-
100
-  // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
101
-  #ifdef LCD_I2C_VIKI
102
-    // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
103
-    // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
104
-    // Note: The pause/stop/resume LCD button pin should be connected to the Arduino
105
-    //       BTN_ENC pin (or set BTN_ENC to -1 if not used)
106
-    #define LCD_I2C_TYPE_MCP23017
107
-    #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
108
-    #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
109
-    #define ULTIPANEL
110
-    #define NEWPANEL
111
-  #endif
112
-
113
-  // Shift register panels
114
-  // ---------------------
115
-  // 2 wire Non-latching LCD SR from:
116
-  // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
117
-
118
-  #ifdef SAV_3DLCD
119
-     #define SR_LCD_2W_NL    // Non latching 2 wire shiftregister
120
-     #define ULTIPANEL
121
-     #define NEWPANEL
122
-  #endif
123
-
124
-
125
-  #ifdef ULTIPANEL
126
-    #define NEWPANEL  //enable this if you have a click-encoder panel
127
-    #define SDSUPPORT
128
-    #define ULTRA_LCD
129
-    #ifdef DOGLCD // Change number of lines to match the DOG graphic display
130
-      #define LCD_WIDTH 22
131
-      #define LCD_HEIGHT 5
132
-    #else
133
-      #define LCD_WIDTH 20
134
-      #define LCD_HEIGHT 4
135
-    #endif
136
-  #else //no panel but just LCD
137
-    #ifdef ULTRA_LCD
138
-    #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
139
-      #define LCD_WIDTH 22
140
-      #define LCD_HEIGHT 5
141
-    #else
142
-      #define LCD_WIDTH 16
143
-      #define LCD_HEIGHT 2
144
-    #endif
145
-    #endif
146
-  #endif
147
-
148
-  /**
149
-   * Default LCD contrast for dogm-like LCD displays
150
-   */
151
-  #if defined(DOGLCD) && !defined(DEFAULT_LCD_CONTRAST)
152
-    #define DEFAULT_LCD_CONTRAST 32
153
-  #endif
154
-
155
-#endif //CONDITIONALS_LCD_H

+ 0
- 3
Marlin/Configuration.h View File

@@ -715,10 +715,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
715 715
 
716 716
 
717 717
 
718
-#include "Conditionals_lcd.h"
719 718
 #include "Configuration_adv.h"
720
-#include "Conditionals.h"
721
-#include "SanityCheck.h"
722 719
 #include "thermistortables.h"
723 720
 
724 721
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -471,4 +473,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
471 473
 	
472 474
 #endif
473 475
 
476
+#include "Conditionals.h"
477
+#include "SanityCheck.h"
478
+
474 479
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/configurator/config/Configuration.h View File

@@ -758,10 +758,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
758 758
 
759 759
 
760 760
 
761
-#include "Conditionals_lcd.h"
762 761
 #include "Configuration_adv.h"
763
-#include "Conditionals.h"
764
-#include "SanityCheck.h"
765 762
 #include "thermistortables.h"
766 763
 
767 764
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/configurator/config/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 // @section temperature
5 7
 
6 8
 //===========================================================================
@@ -375,4 +377,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
375 377
   #endif
376 378
 #endif
377 379
 
380
+#include "Conditionals.h"
381
+#include "SanityCheck.h"
382
+
378 383
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/Felix/Configuration.h View File

@@ -694,10 +694,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
694 694
 
695 695
 
696 696
 
697
-#include "Conditionals_lcd.h"
698 697
 #include "Configuration_adv.h"
699
-#include "Conditionals.h"
700
-#include "SanityCheck.h"
701 698
 #include "thermistortables.h"
702 699
 
703 700
 #endif //CONFIGURATION_H

+ 4
- 3
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -691,10 +691,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
691 691
 //#define FILAMENT_LCD_DISPLAY
692 692
 
693 693
 
694
-#include "Conditionals_lcd.h"
694
+
695
+
696
+
697
+
695 698
 #include "Configuration_adv.h"
696
-#include "Conditionals.h"
697
-#include "SanityCheck.h"
698 699
 #include "thermistortables.h"
699 700
 
700 701
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -358,4 +360,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
358 360
   #endif
359 361
 #endif
360 362
 
363
+#include "Conditionals.h"
364
+#include "SanityCheck.h"
365
+
361 366
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -722,10 +722,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
722 722
 
723 723
 
724 724
 
725
-#include "Conditionals_lcd.h"
726 725
 #include "Configuration_adv.h"
727
-#include "Conditionals.h"
728
-#include "SanityCheck.h"
729 726
 #include "thermistortables.h"
730 727
 
731 728
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -342,4 +344,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
342 344
   #endif
343 345
 #endif
344 346
 
347
+#include "Conditionals.h"
348
+#include "SanityCheck.h"
349
+
345 350
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/K8200/Configuration.h View File

@@ -726,10 +726,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
726 726
 
727 727
 
728 728
 
729
-#include "Conditionals_lcd.h"
730 729
 #include "Configuration_adv.h"
731
-#include "Conditionals.h"
732
-#include "SanityCheck.h"
733 730
 #include "thermistortables.h"
734 731
 
735 732
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/K8200/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -338,4 +340,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
338 340
   #endif
339 341
 #endif
340 342
 
343
+#include "Conditionals.h"
344
+#include "SanityCheck.h"
345
+
341 346
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -752,10 +752,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
752 752
 
753 753
 
754 754
 
755
-#include "Conditionals_lcd.h"
756 755
 #include "Configuration_adv.h"
757
-#include "Conditionals.h"
758
-#include "SanityCheck.h"
759 756
 #include "thermistortables.h"
760 757
 
761 758
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -342,4 +344,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
342 344
   #endif
343 345
 #endif
344 346
 
347
+#include "Conditionals.h"
348
+#include "SanityCheck.h"
349
+
345 350
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -719,10 +719,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
719 719
 
720 720
 
721 721
 
722
-#include "Conditionals_lcd.h"
723 722
 #include "Configuration_adv.h"
724
-#include "Conditionals.h"
725
-#include "SanityCheck.h"
726 723
 #include "thermistortables.h"
727 724
 
728 725
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -342,4 +344,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
342 344
   #endif
343 345
 #endif
344 346
 
347
+#include "Conditionals.h"
348
+#include "SanityCheck.h"
349
+
345 350
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -736,10 +736,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
736 736
 
737 737
 
738 738
 
739
-#include "Conditionals_lcd.h"
740 739
 #include "Configuration_adv.h"
741
-#include "Conditionals.h"
742
-#include "SanityCheck.h"
743 740
 #include "thermistortables.h"
744 741
 
745 742
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -342,4 +344,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
342 344
   #endif
343 345
 #endif
344 346
 
347
+#include "Conditionals.h"
348
+#include "SanityCheck.h"
349
+
345 350
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -738,10 +738,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
738 738
 
739 739
 
740 740
 
741
-#include "Conditionals_lcd.h"
742 741
 #include "Configuration_adv.h"
743
-#include "Conditionals.h"
744
-#include "SanityCheck.h"
745 742
 #include "thermistortables.h"
746 743
 
747 744
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -341,4 +343,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
341 343
   #endif
342 344
 #endif
343 345
 
346
+#include "Conditionals.h"
347
+#include "SanityCheck.h"
348
+
344 349
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/makibox/Configuration.h View File

@@ -717,10 +717,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
717 717
 
718 718
 
719 719
 
720
-#include "Conditionals_lcd.h"
721 720
 #include "Configuration_adv.h"
722
-#include "Conditionals.h"
723
-#include "SanityCheck.h"
724 721
 #include "thermistortables.h"
725 722
 
726 723
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -339,4 +341,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
339 341
   #endif
340 342
 #endif
341 343
 
344
+#include "Conditionals.h"
345
+#include "SanityCheck.h"
346
+
342 347
 #endif //CONFIGURATION_ADV_H

+ 0
- 3
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -724,10 +724,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
724 724
 
725 725
 
726 726
 
727
-#include "Conditionals_lcd.h"
728 727
 #include "Configuration_adv.h"
729
-#include "Conditionals.h"
730
-#include "SanityCheck.h"
731 728
 #include "thermistortables.h"
732 729
 
733 730
 #endif //CONFIGURATION_H

+ 5
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

@@ -1,6 +1,8 @@
1 1
 #ifndef CONFIGURATION_ADV_H
2 2
 #define CONFIGURATION_ADV_H
3 3
 
4
+#include "Conditionals.h"
5
+
4 6
 //===========================================================================
5 7
 //=============================Thermal Settings  ============================
6 8
 //===========================================================================
@@ -346,4 +348,7 @@ const unsigned int dropsegments=5; //everything with less than this number of st
346 348
   #endif
347 349
 #endif
348 350
 
351
+#include "Conditionals.h"
352
+#include "SanityCheck.h"
353
+
349 354
 #endif //CONFIGURATION_ADV_H

Loading…
Cancel
Save