Fixes for when sensor value is a double
The change to the xyz.openbmc_project.Sensor.Value interface that moves
the Value property to a double from an int64_t has merged, which
uncovered some problems in the code that was trying to detect the type
and handle it accordingly.
This does remove support for the Scale property on the Value interface,
as meson CI won't even compile with it since the double version of it is
empty and so the function has unused parameters, which meson doesn't
like.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I34dc6cc83dae76a879258bf3c6859cd348e4de4d
diff --git a/mainloop.hpp b/mainloop.hpp
index 6c5b8e0..b3de022 100644
--- a/mainloop.hpp
+++ b/mainloop.hpp
@@ -156,4 +156,4 @@
/** @brief Given a value and map of interfaces, update values and check
* thresholds.
*/
-void updateSensorInterfaces(InterfaceMap& ifaces, int64_t value);
+void updateSensorInterfaces(InterfaceMap& ifaces, SensorValueType value);