From 66a04dd00c3ecc823255e0b661904fe4f4949585 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 17 Sep 2011 16:58:17 +0200 Subject: Commit 614b60b was missing function signatures and wouldn't compile --- Sprinter/Sprinter.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Sprinter/Sprinter.h') 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) -- cgit v1.2.1