From 2d378fac1bfad5ad1915256df7e2dec112bba12f Mon Sep 17 00:00:00 2001
From: Scott Lahteine <sourcetree@thinkyhead.com>
Date: Mon, 25 Jul 2016 22:43:50 -0700
Subject: [PATCH] No need to include thermistortables.h in Configuration.h

---
 Marlin/Configuration.h                                           | 1 -
 Marlin/example_configurations/Cartesio/Configuration.h           | 1 -
 Marlin/example_configurations/Felix/Configuration.h              | 1 -
 Marlin/example_configurations/Felix/DUAL/Configuration.h         | 1 -
 Marlin/example_configurations/Hephestos/Configuration.h          | 1 -
 Marlin/example_configurations/Hephestos_2/Configuration.h        | 1 -
 Marlin/example_configurations/K8200/Configuration.h              | 1 -
 Marlin/example_configurations/K8400/Configuration.h              | 1 -
 Marlin/example_configurations/K8400/Dual-head/Configuration.h    | 1 -
 .../RepRapWorld/Megatronics/Configuration.h                      | 1 -
 Marlin/example_configurations/RigidBot/Configuration.h           | 1 -
 Marlin/example_configurations/SCARA/Configuration.h              | 1 -
 Marlin/example_configurations/TAZ4/Configuration.h               | 1 -
 Marlin/example_configurations/WITBOX/Configuration.h             | 1 -
 Marlin/example_configurations/adafruit/ST7565/Configuration.h    | 1 -
 Marlin/example_configurations/delta/biv2.5/Configuration.h       | 1 -
 Marlin/example_configurations/delta/generic/Configuration.h      | 1 -
 Marlin/example_configurations/delta/kossel_mini/Configuration.h  | 1 -
 Marlin/example_configurations/delta/kossel_pro/Configuration.h   | 1 -
 Marlin/example_configurations/delta/kossel_xl/Configuration.h    | 1 -
 Marlin/example_configurations/makibox/Configuration.h            | 1 -
 Marlin/example_configurations/tvrrug/Round2/Configuration.h      | 1 -
 Marlin/temperature.cpp                                           | 1 +
 Marlin/temperature.h                                             | 1 +
 24 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index 1ab5eddb14..8c3677f7ec 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -1344,6 +1344,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/Cartesio/Configuration.h b/Marlin/example_configurations/Cartesio/Configuration.h
index feaaefa172..dc77b4074c 100644
--- a/Marlin/example_configurations/Cartesio/Configuration.h
+++ b/Marlin/example_configurations/Cartesio/Configuration.h
@@ -1338,6 +1338,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/Felix/Configuration.h b/Marlin/example_configurations/Felix/Configuration.h
index 0fc8563084..a870c5d5ef 100644
--- a/Marlin/example_configurations/Felix/Configuration.h
+++ b/Marlin/example_configurations/Felix/Configuration.h
@@ -1321,6 +1321,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/Felix/DUAL/Configuration.h b/Marlin/example_configurations/Felix/DUAL/Configuration.h
index 602a1b55e3..1c057f46da 100644
--- a/Marlin/example_configurations/Felix/DUAL/Configuration.h
+++ b/Marlin/example_configurations/Felix/DUAL/Configuration.h
@@ -1319,6 +1319,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/Hephestos/Configuration.h b/Marlin/example_configurations/Hephestos/Configuration.h
index f6a2f1def2..542357bc38 100644
--- a/Marlin/example_configurations/Hephestos/Configuration.h
+++ b/Marlin/example_configurations/Hephestos/Configuration.h
@@ -1330,6 +1330,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/Hephestos_2/Configuration.h b/Marlin/example_configurations/Hephestos_2/Configuration.h
index 73878728da..d15133b2bd 100644
--- a/Marlin/example_configurations/Hephestos_2/Configuration.h
+++ b/Marlin/example_configurations/Hephestos_2/Configuration.h
@@ -1332,6 +1332,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/K8200/Configuration.h b/Marlin/example_configurations/K8200/Configuration.h
index 61d704467b..85e4833d5e 100644
--- a/Marlin/example_configurations/K8200/Configuration.h
+++ b/Marlin/example_configurations/K8200/Configuration.h
@@ -1355,6 +1355,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/K8400/Configuration.h b/Marlin/example_configurations/K8400/Configuration.h
index b86d146f01..b6009f9d02 100644
--- a/Marlin/example_configurations/K8400/Configuration.h
+++ b/Marlin/example_configurations/K8400/Configuration.h
@@ -1338,6 +1338,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/K8400/Dual-head/Configuration.h b/Marlin/example_configurations/K8400/Dual-head/Configuration.h
index a1d4d7d616..5f23ca5fe8 100644
--- a/Marlin/example_configurations/K8400/Dual-head/Configuration.h
+++ b/Marlin/example_configurations/K8400/Dual-head/Configuration.h
@@ -1338,6 +1338,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h b/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
index d09a463145..04ef83f2a5 100644
--- a/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
+++ b/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
@@ -1338,6 +1338,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/RigidBot/Configuration.h b/Marlin/example_configurations/RigidBot/Configuration.h
index 57f0f455ee..2854c7db6d 100644
--- a/Marlin/example_configurations/RigidBot/Configuration.h
+++ b/Marlin/example_configurations/RigidBot/Configuration.h
@@ -1338,6 +1338,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/SCARA/Configuration.h b/Marlin/example_configurations/SCARA/Configuration.h
index 6c3e2de8f1..6f67df5324 100644
--- a/Marlin/example_configurations/SCARA/Configuration.h
+++ b/Marlin/example_configurations/SCARA/Configuration.h
@@ -1346,6 +1346,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/TAZ4/Configuration.h b/Marlin/example_configurations/TAZ4/Configuration.h
index 6cac78e91a..6e598b902c 100644
--- a/Marlin/example_configurations/TAZ4/Configuration.h
+++ b/Marlin/example_configurations/TAZ4/Configuration.h
@@ -1359,6 +1359,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/WITBOX/Configuration.h b/Marlin/example_configurations/WITBOX/Configuration.h
index 8f15e51e6d..3f41cdb486 100644
--- a/Marlin/example_configurations/WITBOX/Configuration.h
+++ b/Marlin/example_configurations/WITBOX/Configuration.h
@@ -1330,6 +1330,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/adafruit/ST7565/Configuration.h b/Marlin/example_configurations/adafruit/ST7565/Configuration.h
index 0ec16f57bc..bccd131e27 100644
--- a/Marlin/example_configurations/adafruit/ST7565/Configuration.h
+++ b/Marlin/example_configurations/adafruit/ST7565/Configuration.h
@@ -1338,6 +1338,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/delta/biv2.5/Configuration.h b/Marlin/example_configurations/delta/biv2.5/Configuration.h
index 67c55aaadd..79176f7290 100644
--- a/Marlin/example_configurations/delta/biv2.5/Configuration.h
+++ b/Marlin/example_configurations/delta/biv2.5/Configuration.h
@@ -1430,6 +1430,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/delta/generic/Configuration.h b/Marlin/example_configurations/delta/generic/Configuration.h
index e257309522..5a6811ff81 100644
--- a/Marlin/example_configurations/delta/generic/Configuration.h
+++ b/Marlin/example_configurations/delta/generic/Configuration.h
@@ -1424,6 +1424,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/delta/kossel_mini/Configuration.h b/Marlin/example_configurations/delta/kossel_mini/Configuration.h
index fa7aabddce..b99db5651f 100644
--- a/Marlin/example_configurations/delta/kossel_mini/Configuration.h
+++ b/Marlin/example_configurations/delta/kossel_mini/Configuration.h
@@ -1427,6 +1427,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/delta/kossel_pro/Configuration.h b/Marlin/example_configurations/delta/kossel_pro/Configuration.h
index 13898efc0f..6de65a2735 100644
--- a/Marlin/example_configurations/delta/kossel_pro/Configuration.h
+++ b/Marlin/example_configurations/delta/kossel_pro/Configuration.h
@@ -1427,6 +1427,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/delta/kossel_xl/Configuration.h b/Marlin/example_configurations/delta/kossel_xl/Configuration.h
index f7a5d84746..6edd5da924 100644
--- a/Marlin/example_configurations/delta/kossel_xl/Configuration.h
+++ b/Marlin/example_configurations/delta/kossel_xl/Configuration.h
@@ -1430,6 +1430,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/makibox/Configuration.h b/Marlin/example_configurations/makibox/Configuration.h
index 6c91f2888e..e68e10e712 100644
--- a/Marlin/example_configurations/makibox/Configuration.h
+++ b/Marlin/example_configurations/makibox/Configuration.h
@@ -1341,6 +1341,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/example_configurations/tvrrug/Round2/Configuration.h b/Marlin/example_configurations/tvrrug/Round2/Configuration.h
index a7e3f04f8c..f77512a0ff 100644
--- a/Marlin/example_configurations/tvrrug/Round2/Configuration.h
+++ b/Marlin/example_configurations/tvrrug/Round2/Configuration.h
@@ -1332,6 +1332,5 @@
 #endif
 
 #include "Configuration_adv.h"
-#include "thermistortables.h"
 
 #endif //CONFIGURATION_H
diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp
index 666edd90f9..172014e7f1 100644
--- a/Marlin/temperature.cpp
+++ b/Marlin/temperature.cpp
@@ -27,6 +27,7 @@
 #include "Marlin.h"
 #include "ultralcd.h"
 #include "temperature.h"
+#include "thermistortables.h"
 #include "language.h"
 #include "Sd2PinMap.h"
 
diff --git a/Marlin/temperature.h b/Marlin/temperature.h
index 8fab0db3dd..47d6af2738 100644
--- a/Marlin/temperature.h
+++ b/Marlin/temperature.h
@@ -29,6 +29,7 @@
 
 #include "Marlin.h"
 #include "planner.h"
+#include "thermistortables.h"
 
 #if ENABLED(PID_ADD_EXTRUSION_RATE)
   #include "stepper.h"
-- 
GitLab