From 456b90793b73d4a1113908823e12d8a16211504a Mon Sep 17 00:00:00 2001 From: Jason Abele Date: Thu, 3 Mar 2011 13:58:14 -0800 Subject: Fixes inverted logic in sensors bool interface --- host/lib/types/sensors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/types') diff --git a/host/lib/types/sensors.cpp b/host/lib/types/sensors.cpp index 5f7115d70..dd8a170ea 100644 --- a/host/lib/types/sensors.cpp +++ b/host/lib/types/sensors.cpp @@ -25,8 +25,8 @@ using namespace uhd; sensor_value_t::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 ): name(name), value(value?"true":"false"), unit(value?utrue:ufalse), type(BOOLEAN) -- cgit v1.2.3