From 4ab7c9eb681b133dcfeee1ecdd318780e6df170e Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Fri, 16 Feb 2018 13:41:21 +0200 Subject: tempmodule: not even close to overflowing, swtich 64b -> 32b. --- src/tempmodule/temperature.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tempmodule/temperature.h') 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 - #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); -- cgit v1.2.3