summaryrefslogtreecommitdiffstats
path: root/src/tempmodule/temperature.h
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2018-02-16 13:41:21 +0200
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2018-02-16 13:41:21 +0200
commit4ab7c9eb681b133dcfeee1ecdd318780e6df170e (patch)
treeba1ab528529ec3a08d88e63b16a962732cec21c6 /src/tempmodule/temperature.h
parent00735224ca72ea64cfa4b882e2196c8fa03b9731 (diff)
downloadcoffeetemp-4ab7c9eb681b133dcfeee1ecdd318780e6df170e.tar.gz
coffeetemp-4ab7c9eb681b133dcfeee1ecdd318780e6df170e.tar.bz2
coffeetemp-4ab7c9eb681b133dcfeee1ecdd318780e6df170e.zip
tempmodule: not even close to overflowing, swtich 64b -> 32b.
Diffstat (limited to 'src/tempmodule/temperature.h')
-rw-r--r--src/tempmodule/temperature.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tempmodule/temperature.h b/src/tempmodule/temperature.h
index 8d990be..72189bb 100644
--- a/src/tempmodule/temperature.h
+++ b/src/tempmodule/temperature.h
@@ -1,13 +1,11 @@
#ifndef TEMPERATURE_INCLUDED
#define TEMPERATURE_INCLUDED
-#include <inttypes.h>
-
#ifdef __cplusplus
extern "C" {
#endif
-int get_resistance(int64_t vt, int64_t ra);
+int get_resistance(int vt, int ra);
int get_temperature(int res);
int get_temp_subrange(short a, short b, int res);