commit | e0a4110016ba1a1e415598c2dd23687ca2e8c1bb | [log] [tgz] |
---|---|---|
author | Konstantin Aladyshev <aladyshev22@gmail.com> | Fri Oct 23 17:43:21 2020 +0300 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu May 06 15:51:57 2021 +0000 |
tree | 9a49608b65c95a57d203f1ae9e8fb7c9399d5984 | |
parent | a8b5b26de163bc574aace794283cfe8b1e742b27 [diff] |
sensorhandler: Support 0 value for thresholds Currently the threshold value is considered present if its value is not equal 0. Therefore it is not possible to support thresholds with a 0 value. As special IEEE floating point values were added to the interface it is now possible to represent an unset threshold as 'NaN'. Consider a threshold present if it is finite (i.e. not NaN or infinity) as infinity is also not a valid value. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ifc4f70b840658b96a70ccd43126de67f873af38c
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.