diff options
-rw-r--r-- | host/include/uhd/types/sensors.hpp | 6 | ||||
-rw-r--r-- | host/lib/types/sensors.cpp | 4 |
2 files changed, 5 insertions, 5 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 ); /*! 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) |