aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/db_rfx.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-24 17:28:10 -0800
committerJosh Blum <josh@joshknows.com>2011-02-24 17:28:10 -0800
commit1526889803f2fc909d97c16b59323107db184381 (patch)
tree9f7d5a86a6a7b232375e9f1bc4c657b629906abb /host/lib/usrp/dboard/db_rfx.cpp
parent4357f5d3c043245b5c086b20742795624af9f432 (diff)
downloaduhd-1526889803f2fc909d97c16b59323107db184381.tar.gz
uhd-1526889803f2fc909d97c16b59323107db184381.tar.bz2
uhd-1526889803f2fc909d97c16b59323107db184381.zip
uhd: switch algorithm namespace to uhd
Diffstat (limited to 'host/lib/usrp/dboard/db_rfx.cpp')
-rw-r--r--host/lib/usrp/dboard/db_rfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_rfx.cpp b/host/lib/usrp/dboard/db_rfx.cpp
index 5e269fc64..4d8222a52 100644
--- a/host/lib/usrp/dboard/db_rfx.cpp
+++ b/host/lib/usrp/dboard/db_rfx.cpp
@@ -245,7 +245,7 @@ static double rx_pga0_gain_to_dac_volts(double &gain, double range){
static const double slope = (max_volts-min_volts)/(range);
//calculate the voltage for the aux dac
- double dac_volts = std::clip<double>(gain*slope + min_volts, max_volts, min_volts);
+ double dac_volts = uhd::clip<double>(gain*slope + min_volts, max_volts, min_volts);
//the actual gain setting
gain = (dac_volts - min_volts)/slope;