summaryrefslogtreecommitdiff
path: root/daemon/sensorPlugins
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-07-12 12:31:33 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-07-12 17:13:50 +0100
commit640efc352c6540db9e00f4124b9eac611cfce2fe (patch)
treee2567ae58ba7b32281621a17476ded6bc1440546 /daemon/sensorPlugins
parent3090f0f1def6140c793a415760da5cdb410ca205 (diff)
Make sure we return a sane value even if sensor isn't warmed up
it seems that the sensor takes a while to warm up, and until it does, it will return 0. This fixes a check that previously already existed, but was checking the wrong value - if the step offset causes step count to increase, we will be returning erroneous values.
Diffstat (limited to 'daemon/sensorPlugins')
0 files changed, 0 insertions, 0 deletions