summaryrefslogtreecommitdiff
path: root/util/isensor.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-10-01 22:45:07 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-10-01 22:45:07 +0200
commit7a8116a7f5355f947610a4bd916d27048775bfd2 (patch)
tree79e750e6302676ca2408a4b585abee55bfa4e2ef /util/isensor.h
parent644c6ecf8e0979cade08ae83fe2fe69941e5da40 (diff)
parent499ce7f7eb7c228d72e646527ce9a5c2950ad58f (diff)
Update upstream source from tag 'upstream/3.1.3'
Update to upstream version '3.1.3' with Debian dir 85319bed14e4539db0e402b9a25c043b8ded36f5
Diffstat (limited to 'util/isensor.h')
-rw-r--r--util/isensor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/isensor.h b/util/isensor.h
index f578274..d08a0a8 100644
--- a/util/isensor.h
+++ b/util/isensor.h
@@ -155,6 +155,8 @@ void ShowSDR(char *tag, uchar *sdr);
int GetSDRRepositoryInfo(int *nret, int *fdev);
int GetSensorThresholds(uchar sens_num, uchar *data);
int GetSensorReading(uchar sens_num, void *psdr, uchar *sens_data);
+int GetSensorReadingFactors(uchar snum, uchar raw, int *m, int *b, int * b_exp,
+ int *r, int *a);
double RawToFloat(uchar raw, uchar *psdr);
char *decode_entity_id(int id);
char *get_unit_type(int iunits, int ibase, int imod, int fshort);