Browse Source

Module updates

Scott Lahteine 6 years ago
parent
commit
3d8a0ab4b2

+ 36
- 0
Marlin/lib/readme.txt View File

@@ -0,0 +1,36 @@
1
+
2
+This directory is intended for the project specific (private) libraries.
3
+PlatformIO will compile them to static libraries and link to executable file.
4
+
5
+The source code of each library should be placed in separate directory, like
6
+"lib/private_lib/[here are source files]".
7
+
8
+For example, see how can be organized `Foo` and `Bar` libraries:
9
+
10
+|--lib
11
+|  |--Bar
12
+|  |  |--docs
13
+|  |  |--examples
14
+|  |  |--src
15
+|  |     |- Bar.c
16
+|  |     |- Bar.h
17
+|  |--Foo
18
+|  |  |- Foo.c
19
+|  |  |- Foo.h
20
+|  |- readme.txt --> THIS FILE
21
+|- platformio.ini
22
+|--src
23
+   |- main.c
24
+
25
+Then in `src/main.c` you should use:
26
+
27
+#include <Foo.h>
28
+#include <Bar.h>
29
+
30
+// rest H/C/CPP code
31
+
32
+PlatformIO will find your libraries automatically, configure preprocessor's
33
+include paths and build them.
34
+
35
+More information about PlatformIO Library Dependency Finder
36
+- http://docs.platformio.org/page/librarymanager/ldf.html

+ 8
- 0
Marlin/src/inc/Conditionals_LCD.h View File

@@ -350,6 +350,14 @@
350 350
     #endif
351 351
   #endif
352 352
 
353
+  #define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
354
+
355
+  #if HOTENDS == 1
356
+    #define HOTEND_INDEX  0
357
+  #else
358
+    #define HOTEND_INDEX  e
359
+  #endif
360
+
353 361
   #if ENABLED(SWITCHING_EXTRUDER) || ENABLED(MIXING_EXTRUDER)   // Unified E axis
354 362
     #if ENABLED(MIXING_EXTRUDER)
355 363
       #define E_STEPPERS  MIXING_STEPPERS

+ 10
- 10
Marlin/src/module/configuration_store.cpp View File

@@ -177,28 +177,28 @@
177 177
 
178 178
 MarlinSettings settings;
179 179
 
180
-#include "Marlin.h"
181
-#include "language.h"
182 180
 #include "endstops.h"
183 181
 #include "planner.h"
184
-#include "temperature.h"
185
-#include "ultralcd.h"
186 182
 #include "stepper.h"
183
+#include "temperature.h"
184
+#include "../lcd/ultralcd.h"
185
+#include "../core/language.h"
186
+#include "../Marlin.h"
187 187
 
188 188
 #if ENABLED(INCH_MODE_SUPPORT) || (ENABLED(ULTIPANEL) && ENABLED(TEMPERATURE_UNITS_SUPPORT))
189
-  #include "gcode.h"
189
+  #include "../gcode/parser.h"
190 190
 #endif
191 191
 
192
-#if ENABLED(MESH_BED_LEVELING)
193
-  #include "mesh_bed_leveling.h"
192
+#if HAS_BED_PROBE
193
+  #include "../module/probe.h"
194 194
 #endif
195 195
 
196 196
 #if ENABLED(HAVE_TMC2130)
197 197
   #include "stepper_indirection.h"
198 198
 #endif
199 199
 
200
-#if ENABLED(AUTO_BED_LEVELING_UBL)
201
-  #include "ubl.h"
200
+#if ENABLED(FWRETRACT)
201
+  #include "../feature/fwretract.h"
202 202
 #endif
203 203
 
204 204
 #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
@@ -252,7 +252,7 @@ void MarlinSettings::postprocess() {
252 252
 }
253 253
 
254 254
 #if ENABLED(EEPROM_SETTINGS)
255
-  #include "src/HAL/persistent_store_api.h"
255
+  #include "../HAL/persistent_store_api.h"
256 256
 
257 257
   #define DUMMY_PID_VALUE 3000.0f
258 258
   #define EEPROM_START() int eeprom_index = EEPROM_OFFSET; HAL::PersistentStore::access_start()

+ 1
- 1
Marlin/src/module/configuration_store.h View File

@@ -23,7 +23,7 @@
23 23
 #ifndef CONFIGURATION_STORE_H
24 24
 #define CONFIGURATION_STORE_H
25 25
 
26
-#include "MarlinConfig.h"
26
+#include "../inc/MarlinConfig.h"
27 27
 
28 28
 class MarlinSettings {
29 29
   public:

+ 5
- 4
Marlin/src/module/endstops.cpp View File

@@ -24,12 +24,13 @@
24 24
  * endstops.cpp - A singleton object to manage endstops
25 25
  */
26 26
 
27
-#include "Marlin.h"
28
-#include "cardreader.h"
29 27
 #include "endstops.h"
30
-#include "temperature.h"
31 28
 #include "stepper.h"
32
-#include "ultralcd.h"
29
+
30
+#include "../Marlin.h"
31
+#include "../sd/cardreader.h"
32
+#include "../module/temperature.h"
33
+#include "../lcd/ultralcd.h"
33 34
 
34 35
 // TEST_ENDSTOP: test the old and the current status of an endstop
35 36
 #define TEST_ENDSTOP(ENDSTOP) (TEST(current_endstop_bits & old_endstop_bits, ENDSTOP))

+ 2
- 2
Marlin/src/module/endstops.h View File

@@ -27,7 +27,7 @@
27 27
 #ifndef ENDSTOPS_H
28 28
 #define ENDSTOPS_H
29 29
 
30
-#include "enum.h"
30
+#include "../core/enum.h"
31 31
 
32 32
 class Endstops {
33 33
 
@@ -48,7 +48,7 @@ class Endstops {
48 48
     /**
49 49
      * Initialize the endstop pins
50 50
      */
51
-    void init();
51
+    static void init();
52 52
 
53 53
     /**
54 54
      * Update the endstops bits from the pins

+ 7
- 7
Marlin/src/module/planner.cpp View File

@@ -60,16 +60,16 @@
60 60
 
61 61
 #include "planner.h"
62 62
 #include "stepper.h"
63
-#include "temperature.h"
64
-#include "ultralcd.h"
65
-#include "language.h"
66
-#include "ubl.h"
67
-#include "gcode.h"
63
+#include "../module/temperature.h"
64
+#include "../lcd/ultralcd.h"
65
+#include "../core/language.h"
66
+#include "../feature/ubl/ubl.h"
67
+#include "../gcode/parser.h"
68 68
 
69
-#include "Marlin.h"
69
+#include "../Marlin.h"
70 70
 
71 71
 #if ENABLED(MESH_BED_LEVELING)
72
-  #include "mesh_bed_leveling.h"
72
+  #include "../feature/mbl/mesh_bed_leveling.h"
73 73
 #endif
74 74
 
75 75
 Planner planner;

+ 2
- 4
Marlin/src/module/planner.h View File

@@ -32,12 +32,10 @@
32 32
 #ifndef PLANNER_H
33 33
 #define PLANNER_H
34 34
 
35
-#include "types.h"
36
-#include "enum.h"
37
-#include "Marlin.h"
35
+#include "../Marlin.h"
38 36
 
39 37
 #if HAS_ABL
40
-  #include "vector_3.h"
38
+  #include "../libs/vector_3.h"
41 39
 #endif
42 40
 
43 41
 enum BlockFlagBit {

+ 5
- 4
Marlin/src/module/planner_bezier.cpp View File

@@ -27,13 +27,14 @@
27 27
  *
28 28
  */
29 29
 
30
-#include "Marlin.h"
30
+#include "../inc/MarlinConfig.h"
31 31
 
32 32
 #if ENABLED(BEZIER_CURVE_SUPPORT)
33 33
 
34
-#include "planner.h"
35
-#include "language.h"
36
-#include "temperature.h"
34
+#include "../Marlin.h"
35
+#include "../module/planner.h"
36
+#include "../core/language.h"
37
+#include "../module/temperature.h"
37 38
 
38 39
 // See the meaning in the documentation of cubic_b_spline().
39 40
 #define MIN_STEP 0.002

+ 1
- 1
Marlin/src/module/planner_bezier.h View File

@@ -30,7 +30,7 @@
30 30
 #ifndef PLANNER_BEZIER_H
31 31
 #define PLANNER_BEZIER_H
32 32
 
33
-#include "Marlin.h"
33
+#include "../inc/MarlinConfig.h"
34 34
 
35 35
 void cubic_b_spline(
36 36
               const float position[NUM_AXIS], // current position

+ 3
- 2
Marlin/src/module/printcounter.cpp View File

@@ -20,9 +20,10 @@
20 20
  *
21 21
  */
22 22
 
23
-#include "Marlin.h"
24 23
 #include "printcounter.h"
25
-#include "duration_t.h"
24
+
25
+#include "../Marlin.h"
26
+#include "../libs/duration_t.h"
26 27
 
27 28
 PrintCounter::PrintCounter(): super() {
28 29
   this->loadStats();

+ 2
- 3
Marlin/src/module/printcounter.h View File

@@ -23,9 +23,8 @@
23 23
 #ifndef PRINTCOUNTER_H
24 24
 #define PRINTCOUNTER_H
25 25
 
26
-#include "macros.h"
27
-#include "language.h"
28
-#include "stopwatch.h"
26
+#include "../inc/MarlinConfig.h"
27
+#include "../libs/stopwatch.h"
29 28
 
30 29
 // Print debug messages with M111 S2
31 30
 //#define DEBUG_PRINTCOUNTER

+ 0
- 2
Marlin/src/module/speed_lookuptable.h View File

@@ -23,8 +23,6 @@
23 23
 #ifndef SPEED_LOOKUPTABLE_H
24 24
 #define SPEED_LOOKUPTABLE_H
25 25
 
26
-#include "Marlin.h"
27
-
28 26
 #if F_CPU == 16000000
29 27
 
30 28
   const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {

+ 20
- 16
Marlin/src/module/stepper.cpp View File

@@ -44,19 +44,27 @@
44 44
 /* The timer calculations of this module informed by the 'RepRap cartesian firmware' by Zack Smith
45 45
    and Philipp Tiefenbacher. */
46 46
 
47
-#include "Marlin.h"
48 47
 #include "stepper.h"
48
+
49
+#ifdef ARDUINO_ARCH_AVR
50
+  #include "speed_lookuptable.h"
51
+#endif
52
+
49 53
 #include "endstops.h"
50 54
 #include "planner.h"
55
+
56
+#include "../Marlin.h"
57
+#include "../module/temperature.h"
58
+#include "../lcd/ultralcd.h"
59
+#include "../core/language.h"
60
+#include "../sd/cardreader.h"
61
+
51 62
 #if MB(ALLIGATOR)
52
-  #include "dac_dac084s085.h"
63
+  #include "../feature/dac/dac_dac084s085.h"
53 64
 #endif
54
-#include "temperature.h"
55
-#include "ultralcd.h"
56
-#include "language.h"
57
-#include "cardreader.h"
58
-#ifdef ARDUINO_ARCH_AVR
59
-  #include "speed_lookuptable.h"
65
+
66
+#if HAS_LEVELING
67
+  #include "../feature/bedlevel/bedlevel.h"
60 68
 #endif
61 69
 
62 70
 #if HAS_DIGIPOTSS
@@ -67,10 +75,6 @@ Stepper stepper; // Singleton
67 75
 
68 76
 // public:
69 77
 
70
-#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
71
-  extern bool ubl_lcd_map_control;
72
-#endif
73
-
74 78
 block_t* Stepper::current_block = NULL;  // A pointer to the block currently being traced
75 79
 
76 80
 #if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
@@ -1272,12 +1276,12 @@ void Stepper::finish_and_disable() {
1272 1276
 }
1273 1277
 
1274 1278
 void Stepper::quick_stop() {
1279
+
1275 1280
   #if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
1276
-    if (!ubl_lcd_map_control)
1277
-      cleaning_buffer_counter = 5000;
1278
-  #else
1279
-    cleaning_buffer_counter = 5000;
1281
+    if (!ubl.lcd_map_control)
1280 1282
   #endif
1283
+      cleaning_buffer_counter = 5000;
1284
+
1281 1285
   DISABLE_STEPPER_DRIVER_INTERRUPT();
1282 1286
   while (planner.blocks_queued()) planner.discard_current_block();
1283 1287
   current_block = NULL;

+ 8
- 4
Marlin/src/module/stepper.h View File

@@ -43,11 +43,15 @@
43 43
 #ifndef STEPPER_H
44 44
 #define STEPPER_H
45 45
 
46
-#include "planner.h"
47
-#include "speed_lookuptable.h"
48 46
 #include "stepper_indirection.h"
49
-#include "language.h"
50
-#include "types.h"
47
+
48
+#ifdef ARDUINO_ARCH_AVR
49
+  #include "speed_lookuptable.h"
50
+#endif
51
+
52
+#include "../inc/MarlinConfig.h"
53
+#include "../module/planner.h"
54
+#include "../core/language.h"
51 55
 
52 56
 class Stepper;
53 57
 extern Stepper stepper;

+ 2
- 2
Marlin/src/module/stepper_indirection.cpp View File

@@ -33,7 +33,7 @@
33 33
 
34 34
 #include "stepper_indirection.h"
35 35
 
36
-#include "MarlinConfig.h"
36
+#include "../inc/MarlinConfig.h"
37 37
 
38 38
 //
39 39
 // TMC26X Driver objects and inits
@@ -129,7 +129,7 @@
129 129
 
130 130
   #include <SPI.h>
131 131
   #include <TMC2130Stepper.h>
132
-  #include "enum.h"
132
+  #include "../core/enum.h"
133 133
 
134 134
   #define _TMC2130_DEFINE(ST) TMC2130Stepper stepper##ST(ST##_ENABLE_PIN, ST##_DIR_PIN, ST##_STEP_PIN, ST##_CS_PIN)
135 135
 

+ 1
- 1
Marlin/src/module/stepper_indirection.h View File

@@ -44,7 +44,7 @@
44 44
 #ifndef STEPPER_INDIRECTION_H
45 45
 #define STEPPER_INDIRECTION_H
46 46
 
47
-#include "MarlinConfig.h"
47
+#include "../inc/MarlinConfig.h"
48 48
 
49 49
 // TMC26X drivers have STEP/DIR on normal pins, but ENABLE via SPI
50 50
 #if ENABLED(HAVE_TMCDRIVER)

+ 66
- 7
Marlin/src/module/temperature.cpp View File

@@ -24,15 +24,15 @@
24 24
  * temperature.cpp - temperature control
25 25
  */
26 26
 
27
-#include "Marlin.h"
28 27
 #include "temperature.h"
29
-#include "thermistortables.h"
30
-#include "ultralcd.h"
28
+
29
+#include "../Marlin.h"
30
+#include "../lcd/ultralcd.h"
31 31
 #include "planner.h"
32
-#include "language.h"
32
+#include "../core/language.h"
33 33
 
34 34
 #if ENABLED(HEATER_0_USES_MAX6675)
35
-  #include "private_spi.h"
35
+  #include "../libs/private_spi.h"
36 36
 #endif
37 37
 
38 38
 #if ENABLED(BABYSTEPPING)
@@ -43,6 +43,8 @@
43 43
   #include "endstops.h"
44 44
 #endif
45 45
 
46
+#include "printcounter.h"
47
+
46 48
 #ifdef K1 // Defined in Configuration.h in the PID settings
47 49
   #define K2 (1.0-K1)
48 50
 #endif
@@ -333,7 +335,7 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS],
333 335
               SERIAL_PROTOCOLPAIR(MSG_T_MIN, min);
334 336
               SERIAL_PROTOCOLPAIR(MSG_T_MAX, max);
335 337
               if (cycles > 2) {
336
-                Ku = (4.0 * d) / (M_PI * (max - min) * 0.5);
338
+                Ku = (4.0 * d) / (M_PI * (max - min) * 0.5); // i.e., CIRCLE_CIRC((max - min) * 0.25)
337 339
                 Tu = ((float)(t_low + t_high) * 0.001);
338 340
                 SERIAL_PROTOCOLPAIR(MSG_KU, Ku);
339 341
                 SERIAL_PROTOCOLPAIR(MSG_TU, Tu);
@@ -1074,7 +1076,7 @@ void Temperature::init() {
1074 1076
     HAL_ANALOG_SELECT(FILWIDTH_PIN);
1075 1077
   #endif
1076 1078
 
1077
-// todo: HAL: fix abstraction
1079
+  // todo: HAL: fix abstraction
1078 1080
   #ifdef ARDUINO_ARCH_AVR
1079 1081
     // Use timer0 for temperature measurement
1080 1082
     // Interleave temperature interrupt with millies interrupt
@@ -1219,6 +1221,63 @@ void Temperature::init() {
1219 1221
   #endif
1220 1222
 }
1221 1223
 
1224
+#if ENABLED(FAST_PWM_FAN)
1225
+
1226
+  void Temperature::setPwmFrequency(const uint8_t pin, int val) {
1227
+    val &= 0x07;
1228
+    switch (digitalPinToTimer(pin)) {
1229
+      #ifdef TCCR0A
1230
+        #if !AVR_AT90USB1286_FAMILY
1231
+          case TIMER0A:
1232
+        #endif
1233
+        case TIMER0B:
1234
+          //_SET_CS(0, val);
1235
+          break;
1236
+      #endif
1237
+      #ifdef TCCR1A
1238
+        case TIMER1A:
1239
+        case TIMER1B:
1240
+          //_SET_CS(1, val);
1241
+          break;
1242
+      #endif
1243
+      #ifdef TCCR2
1244
+        case TIMER2:
1245
+        case TIMER2:
1246
+          _SET_CS(2, val);
1247
+          break;
1248
+      #endif
1249
+      #ifdef TCCR2A
1250
+        case TIMER2A:
1251
+        case TIMER2B:
1252
+          _SET_CS(2, val);
1253
+          break;
1254
+      #endif
1255
+      #ifdef TCCR3A
1256
+        case TIMER3A:
1257
+        case TIMER3B:
1258
+        case TIMER3C:
1259
+          _SET_CS(3, val);
1260
+          break;
1261
+      #endif
1262
+      #ifdef TCCR4A
1263
+        case TIMER4A:
1264
+        case TIMER4B:
1265
+        case TIMER4C:
1266
+          _SET_CS(4, val);
1267
+          break;
1268
+      #endif
1269
+      #ifdef TCCR5A
1270
+        case TIMER5A:
1271
+        case TIMER5B:
1272
+        case TIMER5C:
1273
+          _SET_CS(5, val);
1274
+          break;
1275
+      #endif
1276
+    }
1277
+  }
1278
+
1279
+#endif // FAST_PWM_FAN
1280
+
1222 1281
 #if WATCH_HOTENDS
1223 1282
   /**
1224 1283
    * Start Heating Sanity Check for hotends that are below

+ 10
- 12
Marlin/src/module/temperature.h View File

@@ -27,9 +27,13 @@
27 27
 #ifndef TEMPERATURE_H
28 28
 #define TEMPERATURE_H
29 29
 
30
-#include "thermistortables.h"
30
+#include "thermistor/thermistors.h"
31 31
 
32
-#include "MarlinConfig.h"
32
+#include "../inc/MarlinConfig.h"
33
+
34
+#if ENABLED(BABYSTEPPING)
35
+  extern bool axis_known_position[XYZ];
36
+#endif
33 37
 
34 38
 #if ENABLED(PID_EXTRUSION_SCALING)
35 39
   #include "stepper.h"
@@ -39,16 +43,6 @@
39 43
   #define SOFT_PWM_SCALE 0
40 44
 #endif
41 45
 
42
-#define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
43
-
44
-#if HOTENDS == 1
45
-  #define HOTEND_INDEX  0
46
-  #define EXTRUDER_IDX  0
47
-#else
48
-  #define HOTEND_INDEX  e
49
-  #define EXTRUDER_IDX  active_extruder
50
-#endif
51
-
52 46
 /**
53 47
  * States for ADC reading in the ISR
54 48
  */
@@ -533,6 +527,10 @@ class Temperature {
533 527
 
534 528
   private:
535 529
 
530
+    #if ENABLED(FAST_PWM_FAN)
531
+      static void setPwmFrequency(const uint8_t pin, int val);
532
+    #endif
533
+
536 534
     static void set_current_temp_raw();
537 535
 
538 536
     static void updateTemperaturesFromRawValues();

+ 32
- 33
Marlin/src/module/thermistor/thermistors.h View File

@@ -20,11 +20,10 @@
20 20
  *
21 21
  */
22 22
 
23
-#ifndef THERMISTORTABLES_H_
24
-#define THERMISTORTABLES_H_
23
+#ifndef THERMISTORS_H_
24
+#define THERMISTORS_H_
25 25
 
26
-#include "Marlin.h"
27
-#include "macros.h"
26
+#include "../../inc/MarlinConfig.h"
28 27
 
29 28
 #define OVERSAMPLENR 16
30 29
 
@@ -41,88 +40,88 @@
41 40
 #define PtLine(T,R0,Rup) { PtAdVal(T,R0,Rup)*OVERSAMPLENR, T },
42 41
 
43 42
 #if ANY_THERMISTOR_IS(1) // 100k bed thermistor
44
-  #include "thermistortable_1.h"
43
+  #include "thermistor_1.h"
45 44
 #endif
46 45
 #if ANY_THERMISTOR_IS(2) // 200k bed thermistor
47
-  #include "thermistortable_2.h"
46
+  #include "thermistor_2.h"
48 47
 #endif
49 48
 #if ANY_THERMISTOR_IS(3) // mendel-parts
50
-  #include "thermistortable_3.h"
49
+  #include "thermistor_3.h"
51 50
 #endif
52 51
 #if ANY_THERMISTOR_IS(4) // 10k thermistor
53
-  #include "thermistortable_4.h"
52
+  #include "thermistor_4.h"
54 53
 #endif
55 54
 #if ANY_THERMISTOR_IS(5) // 100k ParCan thermistor (104GT-2)
56
-  #include "thermistortable_5.h"
55
+  #include "thermistor_5.h"
57 56
 #endif
58 57
 #if ANY_THERMISTOR_IS(6) // 100k Epcos thermistor
59
-  #include "thermistortable_6.h"
58
+  #include "thermistor_6.h"
60 59
 #endif
61 60
 #if ANY_THERMISTOR_IS(7) // 100k Honeywell 135-104LAG-J01
62
-  #include "thermistortable_7.h"
61
+  #include "thermistor_7.h"
63 62
 #endif
64 63
 #if ANY_THERMISTOR_IS(71) // 100k Honeywell 135-104LAF-J01
65
-  #include "thermistortable_71.h"
64
+  #include "thermistor_71.h"
66 65
 #endif
67 66
 #if ANY_THERMISTOR_IS(8) // 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
68
-  #include "thermistortable_8.h"
67
+  #include "thermistor_8.h"
69 68
 #endif
70 69
 #if ANY_THERMISTOR_IS(9) // 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
71
-  #include "thermistortable_9.h"
70
+  #include "thermistor_9.h"
72 71
 #endif
73 72
 #if ANY_THERMISTOR_IS(10) // 100k RS thermistor 198-961 (4.7k pullup)
74
-  #include "thermistortable_10.h"
73
+  #include "thermistor_10.h"
75 74
 #endif
76 75
 #if ANY_THERMISTOR_IS(11) // QU-BD silicone bed QWG-104F-3950 thermistor
77
-  #include "thermistortable_11.h"
76
+  #include "thermistor_11.h"
78 77
 #endif
79 78
 #if ANY_THERMISTOR_IS(13) // Hisens thermistor B25/50 =3950 +/-1%
80
-  #include "thermistortable_13.h"
79
+  #include "thermistor_13.h"
81 80
 #endif
82 81
 #if ANY_THERMISTOR_IS(20) // PT100 with INA826 amp on Ultimaker v2.0 electronics
83
-  #include "thermistortable_20.h"
82
+  #include "thermistor_20.h"
84 83
 #endif
85 84
 #if ANY_THERMISTOR_IS(51) // 100k EPCOS (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
86
-  #include "thermistortable_51.h"
85
+  #include "thermistor_51.h"
87 86
 #endif
88 87
 #if ANY_THERMISTOR_IS(52) // 200k ATC Semitec 204GT-2 (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
89
-  #include "thermistortable_52.h"
88
+  #include "thermistor_52.h"
90 89
 #endif
91 90
 #if ANY_THERMISTOR_IS(55) // 100k ATC Semitec 104GT-2 (Used on ParCan) (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
92
-  #include "thermistortable_55.h"
91
+  #include "thermistor_55.h"
93 92
 #endif
94 93
 #if ANY_THERMISTOR_IS(60) // Maker's Tool Works Kapton Bed Thermistor
95
-  #include "thermistortable_60.h"
94
+  #include "thermistor_60.h"
96 95
 #endif
97 96
 #if ANY_THERMISTOR_IS(66) // DyzeDesign 500°C Thermistor
98
-  #include "thermistortable_66.h"
97
+  #include "thermistor_66.h"
99 98
 #endif
100 99
 #if ANY_THERMISTOR_IS(12) // 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
101
-  #include "thermistortable_12.h"
100
+  #include "thermistor_12.h"
102 101
 #endif
103 102
 #if ANY_THERMISTOR_IS(70) // bqh2 stock thermistor
104
-  #include "thermistortable_70.h"
103
+  #include "thermistor_70.h"
105 104
 #endif
106 105
 #if ANY_THERMISTOR_IS(75) // Many of the generic silicon heat pads use the MGB18-104F39050L32 Thermistor
107
-  #include "thermistortable_75.h"
106
+  #include "thermistor_75.h"
108 107
 #endif
109 108
 #if ANY_THERMISTOR_IS(110) // Pt100 with 1k0 pullup
110
-  #include "thermistortable_110.h"
109
+  #include "thermistor_110.h"
111 110
 #endif
112 111
 #if ANY_THERMISTOR_IS(147) // Pt100 with 4k7 pullup
113
-  #include "thermistortable_147.h"
112
+  #include "thermistor_147.h"
114 113
 #endif
115 114
 #if ANY_THERMISTOR_IS(1010) // Pt1000 with 1k0 pullup
116
-  #include "thermistortable_1010.h"
115
+  #include "thermistor_1010.h"
117 116
 #endif
118 117
 #if ANY_THERMISTOR_IS(1047) // Pt1000 with 4k7 pullup
119
-  #include "thermistortable_1047.h"
118
+  #include "thermistor_1047.h"
120 119
 #endif
121 120
 #if ANY_THERMISTOR_IS(998) // User-defined table 1
122
-  #include "thermistortable_998.h"
121
+  #include "thermistor_998.h"
123 122
 #endif
124 123
 #if ANY_THERMISTOR_IS(999) // User-defined table 2
125
-  #include "thermistortable_999.h"
124
+  #include "thermistor_999.h"
126 125
 #endif
127 126
 
128 127
 #define _TT_NAME(_N) temptable_ ## _N
@@ -245,4 +244,4 @@
245 244
   #endif
246 245
 #endif
247 246
 
248
-#endif // THERMISTORTABLES_H_
247
+#endif // THERMISTORS_H_

Loading…
Cancel
Save