diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-10-01 22:46:22 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-10-01 22:46:22 +0200 |
commit | 241c9dab2c7ea63708af9d98171653813ae04d00 (patch) | |
tree | 7f952e02244a4d92eaaaa9ec6addeeb129584e11 /util/isensor.h | |
parent | 644c6ecf8e0979cade08ae83fe2fe69941e5da40 (diff) | |
parent | c91935376922760a8cc671cd083c381f2285e122 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'util/isensor.h')
-rw-r--r-- | util/isensor.h | 2 |
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); |