From 37102d6de667d7bc39c99be8719ca636ec4f6aa6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 28 Jul 2011 14:59:56 -0700 Subject: usrp2: turn that message into an exception, require at least 7.1 --- host/lib/usrp/usrp2/usrp2_impl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'host/lib/usrp/usrp2') 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" + ); } //-------------------------------------------------------------- -- cgit v1.2.3