From 1526889803f2fc909d97c16b59323107db184381 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 24 Feb 2011 17:28:10 -0800 Subject: uhd: switch algorithm namespace to uhd --- host/lib/usrp/dboard/db_rfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard/db_rfx.cpp') 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(gain*slope + min_volts, max_volts, min_volts); + double dac_volts = uhd::clip(gain*slope + min_volts, max_volts, min_volts); //the actual gain setting gain = (dac_volts - min_volts)/slope; -- cgit v1.2.3