diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-03-24 19:06:32 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-03-24 19:06:32 -0700 |
commit | f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18 (patch) | |
tree | 073efbb38e81ad1f8563c4844dad3f7449eab38b /host/lib/usrp/common | |
parent | 4d3572494e979bb94a929a0485813c0ba3fcc453 (diff) | |
parent | 04b205d15bea5ef56d4f96446db6ec20124df9e7 (diff) | |
download | uhd-f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18.tar.gz uhd-f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18.tar.bz2 uhd-f3cabe9ffd7a27ee8c0a6d57b4e1dd6835760a18.zip |
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r-- | host/lib/usrp/common/max287x.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/common/max287x.hpp b/host/lib/usrp/common/max287x.hpp index 1209d194e..a0400f651 100644 --- a/host/lib/usrp/common/max287x.hpp +++ b/host/lib/usrp/common/max287x.hpp @@ -900,6 +900,12 @@ void max287x<max287x_regs_t>::commit() } else { try { changed_regs = _regs.template get_changed_addrs<uint32_t> (); + // register 0 must be written to apply double buffered fields + if (changed_regs.size() > 0) + { + changed_regs.insert(0); + } + for (int addr = 5; addr >= 0; addr--) { if (changed_regs.find(uint32_t(addr)) != changed_regs.end()) |