-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Threshold: define values to represent un-set threshold
Some existing implementations were using the value 0 to indicate an unset threshold, but this makes it impossible to have a threshold of 0. Zero is a reasonable threshold for some sensors, such as a lower-bound on a temperature sensor. Specify that 'NaN' should be used to represent thresholds which are not defined. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I518b4b77a5f7601ea7079980f77c31991f6f9dde
- Loading branch information
1 parent
1d4979c
commit 2c33a89
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters