diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-28 18:23:27 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-28 18:23:27 -0700 |
commit | a8d2c2944b329218af1c0b171b92f775b679b409 (patch) | |
tree | 02e558d525055cb82e8d00a7a2d75fe324015ae6 /host/lib/usrp/wrapper_utils.hpp | |
parent | ef8ed898cbc6cb6cd1994d2a8b090112f4f3a664 (diff) | |
parent | 6a3e499f586513d48ef648aa910e252b7d8b046b (diff) | |
download | uhd-a8d2c2944b329218af1c0b171b92f775b679b409.tar.gz uhd-a8d2c2944b329218af1c0b171b92f775b679b409.tar.bz2 uhd-a8d2c2944b329218af1c0b171b92f775b679b409.zip |
Merge branch 'next'
Diffstat (limited to 'host/lib/usrp/wrapper_utils.hpp')
-rw-r--r-- | host/lib/usrp/wrapper_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/wrapper_utils.hpp b/host/lib/usrp/wrapper_utils.hpp index aee230fc0..6f9fdbfca 100644 --- a/host/lib/usrp/wrapper_utils.hpp +++ b/host/lib/usrp/wrapper_utils.hpp @@ -40,7 +40,7 @@ static inline void do_samp_rate_warning_message( ){ static const double max_allowed_error = 1.0; //Sps if (std::abs(target_rate - actual_rate) > max_allowed_error){ - uhd::print_warning(str(boost::format( + uhd::warning::post(str(boost::format( "The hardware does not support the requested %s sample rate:\n" "Target sample rate: %f MSps\n" "Actual sample rate: %f MSps\n" @@ -55,7 +55,7 @@ static inline void do_tune_freq_warning_message( ){ static const double max_allowed_error = 1.0; //Hz if (std::abs(target_freq - actual_freq) > max_allowed_error){ - uhd::print_warning(str(boost::format( + uhd::warning::post(str(boost::format( "The hardware does not support the requested %s frequency:\n" "Target frequency: %f MHz\n" "Actual frequency: %f MHz\n" |