diff options
author | Josh Blum <josh@joshknows.com> | 2011-05-17 15:12:02 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-05-17 15:12:02 -0700 |
commit | 9065043544dd129e16d7bb30ae8cb8d5562c3326 (patch) | |
tree | 53f6abdc8a4c1b306e4e0d5e7970e68113ca3374 /host/lib/usrp/usrp2/codec_ctrl.cpp | |
parent | 22097e81dc54c895ed411c74c1829721e3a1ce5e (diff) | |
download | uhd-9065043544dd129e16d7bb30ae8cb8d5562c3326.tar.gz uhd-9065043544dd129e16d7bb30ae8cb8d5562c3326.tar.bz2 uhd-9065043544dd129e16d7bb30ae8cb8d5562c3326.zip |
usrp2: moved register map into #defines, entries for new dsp frontend
also fixes irq rb
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.cpp b/host/lib/usrp/usrp2/codec_ctrl.cpp index 796888b8f..b32a9f256 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.cpp +++ b/host/lib/usrp/usrp2/codec_ctrl.cpp @@ -61,7 +61,7 @@ public: switch(_iface->get_rev()){ case usrp2_iface::USRP2_REV3: case usrp2_iface::USRP2_REV4: - _iface->poke32(_iface->regs.misc_ctrl_adc, U2_FLAG_MISC_CTRL_ADC_ON); + _iface->poke32(U2_REG_MISC_CTRL_ADC, U2_FLAG_MISC_CTRL_ADC_ON); break; case usrp2_iface::USRP_N200: @@ -88,7 +88,7 @@ public: switch(_iface->get_rev()){ case usrp2_iface::USRP2_REV3: case usrp2_iface::USRP2_REV4: - _iface->poke32(_iface->regs.misc_ctrl_adc, U2_FLAG_MISC_CTRL_ADC_OFF); + _iface->poke32(U2_REG_MISC_CTRL_ADC, U2_FLAG_MISC_CTRL_ADC_OFF); break; case usrp2_iface::USRP_N200: |