summaryrefslogtreecommitdiff
path: root/util/isensor.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-10-03 09:01:00 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-10-03 09:01:00 +0200
commitcb4c53adfa077477b1dd784b200e0a8f9fff2afc (patch)
tree8cfb9e922f36c09f570717352f09329c2e84dbe3 /util/isensor.h
parent7af748e993f12dd5b62400723332a7c8b53dcd72 (diff)
parenta394f4f6fe2846718cd55d32bbc4ca7b7be7544a (diff)
Merge branch 'release/debian/3.1.3-1'debian/3.1.3-1
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);