From b369d0f020f324b872099fcdbe321f5eac2f98bb Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 4 Jun 2010 17:35:48 -0700 Subject: usrp2 regs naming convention --- host/lib/usrp/usrp2/serdes_ctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/usrp2/serdes_ctrl.cpp') diff --git a/host/lib/usrp/usrp2/serdes_ctrl.cpp b/host/lib/usrp/usrp2/serdes_ctrl.cpp index 31708d377..e83dceb96 100644 --- a/host/lib/usrp/usrp2/serdes_ctrl.cpp +++ b/host/lib/usrp/usrp2/serdes_ctrl.cpp @@ -27,11 +27,11 @@ class usrp2_serdes_ctrl_impl : public usrp2_serdes_ctrl{ public: usrp2_serdes_ctrl_impl(usrp2_iface::sptr iface){ _iface = iface; - _iface->poke32(FR_MISC_CTRL_SERDES, FRF_MISC_CTRL_SERDES_ENABLE | FRF_MISC_CTRL_SERDES_RXEN); + _iface->poke32(U2_REG_MISC_CTRL_SERDES, U2_FLAG_MISC_CTRL_SERDES_ENABLE | U2_FLAG_MISC_CTRL_SERDES_RXEN); } ~usrp2_serdes_ctrl_impl(void){ - _iface->poke32(FR_MISC_CTRL_SERDES, 0); //power-down + _iface->poke32(U2_REG_MISC_CTRL_SERDES, 0); //power-down } private: -- cgit v1.2.3