diff options
author | Michael West <michael.west@ettus.com> | 2013-11-01 16:23:00 -0700 |
---|---|---|
committer | Michael West <michael.west@ettus.com> | 2013-11-01 16:23:00 -0700 |
commit | c3557962287aaf87090020113dc1de73d12fcfbe (patch) | |
tree | 6c46689aa654b6c614de4aab32ddaefde58bc136 | |
parent | ac987d48a1f7f264ca6560b38dc75a5dc1d2ce5e (diff) | |
download | uhd-c3557962287aaf87090020113dc1de73d12fcfbe.tar.gz uhd-c3557962287aaf87090020113dc1de73d12fcfbe.tar.bz2 uhd-c3557962287aaf87090020113dc1de73d12fcfbe.zip |
Removed unnecessary check.
-rw-r--r-- | host/examples/test_dboard_coercion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/test_dboard_coercion.cpp b/host/examples/test_dboard_coercion.cpp index bbe6f70dd..86c59d9d7 100644 --- a/host/examples/test_dboard_coercion.cpp +++ b/host/examples/test_dboard_coercion.cpp @@ -121,7 +121,7 @@ std::string tx_test(uhd::usrp::multi_usrp::sptr usrp, bool test_gain, bool verbo gains.push_back(current_gain); current_gain++; } - if(gain_end != gains.back()) gains.push_back(gain_end); + gains.push_back(gain_end); } @@ -313,7 +313,7 @@ std::string rx_test(uhd::usrp::multi_usrp::sptr usrp, bool test_gain, bool verbo gains.push_back(current_gain); current_gain++; } - if(gain_end != gains.back()) gains.push_back(gain_end); + gains.push_back(gain_end); } |