diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-27 20:26:52 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-27 20:26:52 -0700 |
commit | 5aab802b600dae2d8728ae11550cc2a4e6ba6895 (patch) | |
tree | 80454dc7c8f2388fdc77cbf796dbab3a59637180 /host/lib/types | |
parent | 9b4c8c7c9c9e9645b0ee27a6d6ad06bbfbf1ae66 (diff) | |
download | uhd-5aab802b600dae2d8728ae11550cc2a4e6ba6895.tar.gz uhd-5aab802b600dae2d8728ae11550cc2a4e6ba6895.tar.bz2 uhd-5aab802b600dae2d8728ae11550cc2a4e6ba6895.zip |
usrp: populate a tree from a subdev
Diffstat (limited to 'host/lib/types')
-rw-r--r-- | host/lib/types/sensors.cpp | 7 |
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, |