summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2011-09-17 16:58:17 +0200
committerAlessandro Ranellucci <aar@cpan.org>2011-09-17 16:58:45 +0200
commit66a04dd00c3ecc823255e0b661904fe4f4949585 (patch)
treed66bfcb41d5def4740f51ef91eadf854295c25c1 /Sprinter
parentd6fe1dab44a452fcd223c03524698f040407e61f (diff)
Commit 614b60b was missing function signatures and wouldn't compile
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Sprinter.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Sprinter/Sprinter.h b/Sprinter/Sprinter.h
index e77da12..2ac9163 100644
--- a/Sprinter/Sprinter.h
+++ b/Sprinter/Sprinter.h
@@ -34,6 +34,21 @@ void manage_heater();
#define analog2tempBed( c ) analog2temp_max6675(c)
#endif
+#if defined (HEATER_USES_THERMISTOR) || defined (BED_USES_THERMISTOR)
+int temp2analog_thermistor(int celsius, const short table[][2], int numtemps);
+int analog2temp_thermistor(int raw,const short table[][2], int numtemps);
+#endif
+
+#if defined (HEATER_USES_AD595) || defined (BED_USES_AD595)
+int temp2analog_ad595(int celsius);
+int analog2temp_ad595(int raw);
+#endif
+
+#if defined (HEATER_USES_MAX6675) || defined (BED_USES_MAX6675)
+int temp2analog_max6675(int celsius);
+int analog2temp_max6675(int raw);
+#endif
+
#if X_ENABLE_PIN > -1
#define enable_x() WRITE(X_ENABLE_PIN, X_ENABLE_ON)
#define disable_x() WRITE(X_ENABLE_PIN,!X_ENABLE_ON)