diff options
author | Josh Blum <josh@joshknows.com> | 2011-05-12 15:34:24 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-05-12 15:34:24 -0700 |
commit | b60418e93a8c473372d14cd5fdf430afa6e8fed4 (patch) | |
tree | 30e9ad77044d07440df21343f7baab6f8e662e19 /host/lib/usrp/usrp_e100/usrp_e100_impl.cpp | |
parent | d11bb4e7ba957f14c6449f519576ab7cd85b60bd (diff) | |
download | uhd-b60418e93a8c473372d14cd5fdf430afa6e8fed4.tar.gz uhd-b60418e93a8c473372d14cd5fdf430afa6e8fed4.tar.bz2 uhd-b60418e93a8c473372d14cd5fdf430afa6e8fed4.zip |
usrp-e100: created device address arg for master clock rate, removed eeprom hack
Diffstat (limited to 'host/lib/usrp/usrp_e100/usrp_e100_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp_e100/usrp_e100_impl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp b/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp index 4247746ab..5fba0c153 100644 --- a/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp +++ b/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp @@ -156,7 +156,8 @@ usrp_e100_impl::usrp_e100_impl( { //setup interfaces into hardware - _clock_ctrl = usrp_e100_clock_ctrl::make(_iface); + const double master_clock_rate = device_addr.cast<double>("master_clock_rate", 64e6); + _clock_ctrl = usrp_e100_clock_ctrl::make(_iface, master_clock_rate); _codec_ctrl = usrp_e100_codec_ctrl::make(_iface); //initialize the mboard |