Check thresholds each set

Thresholds can be changed even if the reading isn't,
call check thresholds each time so that if they are
modified that we can set / unset the assert.

Tested: Lowered sensor threshold, it got asserted

Change-Id: Ibf3b874254e34be079f4e8d559e620e6922c5d3a
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/include/sensor.hpp b/include/sensor.hpp
index 57b9987..641d390 100644
--- a/include/sensor.hpp
+++ b/include/sensor.hpp
@@ -150,8 +150,8 @@
             if (std::isnan(diff) || diff > hysteresis)
             {
                 value = newValue;
-                checkThresholds();
             }
+            checkThresholds();
         }
     }
 };