aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/mboard_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-01 18:21:29 -0700
committerJosh Blum <josh@joshknows.com>2011-05-01 18:21:29 -0700
commit6f0a98ee2e9e2090c6bf7d56260cb95b0eb1fbb3 (patch)
tree121f8c82241bf312e704917d6a1598372cc67b65 /host/lib/usrp/usrp1/mboard_impl.cpp
parent5c6c179689ef76ccd25d09ac4faeb9a836a066c8 (diff)
downloaduhd-6f0a98ee2e9e2090c6bf7d56260cb95b0eb1fbb3.tar.gz
uhd-6f0a98ee2e9e2090c6bf7d56260cb95b0eb1fbb3.tar.bz2
uhd-6f0a98ee2e9e2090c6bf7d56260cb95b0eb1fbb3.zip
USRP1: added support for setting clock rate from EEPROM
Basically, same deal as the previous changeset but for USRP1. Modified previous changes so that the key is shorter (mcr = master_clock_rate)
Diffstat (limited to 'host/lib/usrp/usrp1/mboard_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/mboard_impl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/mboard_impl.cpp b/host/lib/usrp/usrp1/mboard_impl.cpp
index 870956568..eecae3fa7 100644
--- a/host/lib/usrp/usrp1/mboard_impl.cpp
+++ b/host/lib/usrp/usrp1/mboard_impl.cpp
@@ -378,6 +378,10 @@ void usrp1_impl::mboard_set(const wax::obj &key, const wax::obj &val)
return;
case MBOARD_PROP_CLOCK_RATE:
+ std::cerr << "Helpful message:" << std::endl;
+ std::cerr << " I see that you are setting the master clock rate from the API." << std::endl;
+ std::cerr << " You may find it more convenient to burn this setting into the EEPROM." << std::endl;
+ std::cerr << " See the application notes for USRP1 for further instructions." << std::endl;
_clock_ctrl->set_master_clock_freq(val.as<double>());
return;