aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/types')
-rw-r--r--host/lib/types/sensors.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/types/sensors.cpp b/host/lib/types/sensors.cpp
index 52a63d14c..5e1e8691c 100644
--- a/host/lib/types/sensors.cpp
+++ b/host/lib/types/sensors.cpp
@@ -22,6 +22,13 @@
using namespace uhd;
+sensor_value_t::sensor_value_t(void):
+ name(""), value(""),
+ unit(""), type(STRING)
+{
+ /* NOP */
+}
+
sensor_value_t::sensor_value_t(
const std::string &name,
bool value,