From 5aab802b600dae2d8728ae11550cc2a4e6ba6895 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Jun 2011 20:26:52 -0700 Subject: usrp: populate a tree from a subdev --- host/lib/types/sensors.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'host/lib/types') 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, -- cgit v1.2.3