aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/test_dboard_coercion.cpp
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-11-20 12:14:24 -0800
committerMichael West <michael.west@ettus.com>2013-11-20 12:14:24 -0800
commit6ff935e6955be81f30606d0444a265ea03dc6f5d (patch)
tree27745786f543858b99d22de1d87f87da9f905f15 /host/examples/test_dboard_coercion.cpp
parent1fe3db82d6d292a186fe26e728dfdf68db4db056 (diff)
parent265e94473130ffefc95d4eb67e8d46ce50982be4 (diff)
downloaduhd-6ff935e6955be81f30606d0444a265ea03dc6f5d.tar.gz
uhd-6ff935e6955be81f30606d0444a265ea03dc6f5d.tar.bz2
uhd-6ff935e6955be81f30606d0444a265ea03dc6f5d.zip
Merge remote branch
Diffstat (limited to 'host/examples/test_dboard_coercion.cpp')
-rw-r--r--host/examples/test_dboard_coercion.cpp4
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);
}