summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJason Abele <jason@ettus.com>2011-03-03 13:58:14 -0800
committerJason Abele <jason@ettus.com>2011-03-03 13:58:14 -0800
commit456b90793b73d4a1113908823e12d8a16211504a (patch)
tree31c3ce9b54ed9cb84d283788dbfeeaa9d2dff857 /host/include
parent7aed95a658deb52404ba49774cfcecf96df654a8 (diff)
downloaduhd-456b90793b73d4a1113908823e12d8a16211504a.tar.gz
uhd-456b90793b73d4a1113908823e12d8a16211504a.tar.bz2
uhd-456b90793b73d4a1113908823e12d8a16211504a.zip
Fixes inverted logic in sensors bool interface
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/sensors.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/include/uhd/types/sensors.hpp b/host/include/uhd/types/sensors.hpp
index 97d82b4e2..529e1e3e3 100644
--- a/host/include/uhd/types/sensors.hpp
+++ b/host/include/uhd/types/sensors.hpp
@@ -41,14 +41,14 @@ namespace uhd{
* Create a sensor value from a boolean.
* \param name the name of the sensor
* \param value the value true or false
- * \param ufalse the unit string when value is false
* \param utrue the unit string when value is true
+ * \param ufalse the unit string when value is false
*/
sensor_value_t(
const std::string &name,
bool value,
- const std::string &ufalse,
- const std::string &utrue
+ const std::string &utrue,
+ const std::string &ufalse
);
/*!