aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/max287x.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-07 16:44:49 -0700
committerMartin Braun <martin.braun@ettus.com>2016-10-07 16:44:49 -0700
commit1b70b3e70df40aae4d1e53037212d77af2fdc4e4 (patch)
treedcde2a418b7cfb4672e5ef5e57bbf85ae3c2d4b1 /host/lib/usrp/common/max287x.hpp
parent811444b126ed40aed115af4464422122afd0c607 (diff)
parent006c321c552781501bcb0cff9e156c991c24ce45 (diff)
downloaduhd-1b70b3e70df40aae4d1e53037212d77af2fdc4e4.tar.gz
uhd-1b70b3e70df40aae4d1e53037212d77af2fdc4e4.tar.bz2
uhd-1b70b3e70df40aae4d1e53037212d77af2fdc4e4.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/common/max287x.hpp')
-rw-r--r--host/lib/usrp/common/max287x.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/usrp/common/max287x.hpp b/host/lib/usrp/common/max287x.hpp
index 596d992e0..540f5207f 100644
--- a/host/lib/usrp/common/max287x.hpp
+++ b/host/lib/usrp/common/max287x.hpp
@@ -824,6 +824,13 @@ void max287x<max287x_regs_t>::set_auto_retune(bool enabled)
_regs.retune = enabled ? max287x_regs_t::RETUNE_ENABLED : max287x_regs_t::RETUNE_DISABLED;
}
+template <>
+inline void max287x<max2871_regs_t>::set_auto_retune(bool enabled)
+{
+ _regs.retune = enabled ? max2871_regs_t::RETUNE_ENABLED : max2871_regs_t::RETUNE_DISABLED;
+ _regs.vas_dly = enabled ? max2871_regs_t::VAS_DLY_ENABLED : max2871_regs_t::VAS_DLY_DISABLED;
+}
+
template <typename max287x_regs_t>
void max287x<max287x_regs_t>::set_clock_divider_mode(clock_divider_mode_t mode)
{