commit | 543bf6687779c34f0f495eebae7e1819ced27577 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Apr 29 09:03:53 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Apr 29 12:17:19 2021 -0500 |
tree | e466720eb3c39e369b77d4dde66e0cdeb5e40697 | |
parent | f6443742a6e383a4fec63a005aa3e50fa1848b1c [diff] |
add clamping of min/max Ensure that the value of the sensor is clamped to be within the limits imposed by the min/max of the sensor. Presently, these limits may be defaulted by the object definition (to +/- infinity) or set via config. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iceaea40daaba1324fd76122843b5520acb4a7726