diff options
author | 2018-02-12 23:23:30 +0200 | |
---|---|---|
committer | 2018-02-12 23:48:46 +0200 | |
commit | 4f32039879a09da6c10ae032e0e1ab9681855af3 (patch) | |
tree | 8078c3d76f46cfcd85ecd72b59d943b53a0ddb4f /src/tempmodule/temperature.h | |
parent | 437fe3ecddd04cd4097aaa2f431ceb20dbfa8f2c (diff) | |
download | coffeetemp-4f32039879a09da6c10ae032e0e1ab9681855af3.tar.gz coffeetemp-4f32039879a09da6c10ae032e0e1ab9681855af3.tar.bz2 coffeetemp-4f32039879a09da6c10ae032e0e1ab9681855af3.zip |
tempmodule: split off temperature-related functions.
Diffstat (limited to 'src/tempmodule/temperature.h')
-rw-r--r-- | src/tempmodule/temperature.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tempmodule/temperature.h b/src/tempmodule/temperature.h new file mode 100644 index 0000000..2dfac73 --- /dev/null +++ b/src/tempmodule/temperature.h @@ -0,0 +1,13 @@ +#include <inttypes.h> + +#ifdef __cplusplus +extern "C" { +#endif + +int get_resistance(int64_t vt, int64_t ra); +int get_temperature(int res); +int get_temp_subrange(short a, short b, int res); + +#ifdef __cplusplus +} +#endif |