diff options
author | kliment <kliment.yanev@gmail.com> | 2011-09-17 08:01:53 -0700 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-09-17 08:01:53 -0700 |
commit | 00c694c8d2fcb3df69f66f1d35818288c900bd7a (patch) | |
tree | d66bfcb41d5def4740f51ef91eadf854295c25c1 | |
parent | d6fe1dab44a452fcd223c03524698f040407e61f (diff) | |
parent | 66a04dd00c3ecc823255e0b661904fe4f4949585 (diff) |
Merge pull request #93 from alexrj/function-signatures
Commit 614b60b was missing function signatures and wouldn't compile
-rw-r--r-- | Sprinter/Sprinter.h | 15 |
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) |