diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-28 14:59:56 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-28 14:59:56 -0700 |
commit | 37102d6de667d7bc39c99be8719ca636ec4f6aa6 (patch) | |
tree | 012c391413c7fc621bfa75daa441f8e9c05f0565 /host/lib | |
parent | abc095773db0eab91804212f0615c0f4a6bc3689 (diff) | |
download | uhd-37102d6de667d7bc39c99be8719ca636ec4f6aa6.tar.gz uhd-37102d6de667d7bc39c99be8719ca636ec4f6aa6.tar.bz2 uhd-37102d6de667d7bc39c99be8719ca636ec4f6aa6.zip |
usrp2: turn that message into an exception, require at least 7.1
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_impl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 8cf96721e..774f91d28 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -358,11 +358,11 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){ //-------------------------------------------------------------- if (fpga_minor == 0){ //!!! special temporary check !!!// - UHD_MSG(warning) - << "Detected FPGA pre-release minor version 0.\n" - << "This build has known transmit issues.\n" - << "Please grab the latest images from the wiki.\n" - ; + throw uhd::runtime_error( + "Detected FPGA pre-release minor version 7.0.\n" + "This host code build requires at least 7.1.\n" + "Please update both firmware and FPGA images\n" + ); } //-------------------------------------------------------------- |