aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_cal_tx_iq_balance.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-23 17:47:44 -0800
committerJosh Blum <josh@joshknows.com>2011-11-23 17:47:44 -0800
commit06d0032772a24175f76d82e460932023acaaec2e (patch)
treed116bbcb42ba8383ef6d7bdd6a283b2bef314005 /host/utils/uhd_cal_tx_iq_balance.cpp
parent71810ad1fc9a3612b4673a674e64be5782681c18 (diff)
downloaduhd-06d0032772a24175f76d82e460932023acaaec2e.tar.gz
uhd-06d0032772a24175f76d82e460932023acaaec2e.tar.bz2
uhd-06d0032772a24175f76d82e460932023acaaec2e.zip
uhd: tweaks to calibration utilities
Diffstat (limited to 'host/utils/uhd_cal_tx_iq_balance.cpp')
-rw-r--r--host/utils/uhd_cal_tx_iq_balance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/uhd_cal_tx_iq_balance.cpp b/host/utils/uhd_cal_tx_iq_balance.cpp
index ff965e040..c2222e777 100644
--- a/host/utils/uhd_cal_tx_iq_balance.cpp
+++ b/host/utils/uhd_cal_tx_iq_balance.cpp
@@ -44,7 +44,7 @@ static void tx_thread(uhd::usrp::multi_usrp::sptr usrp, const double tx_wave_fre
//setup variables and allocate buffer
uhd::tx_metadata_t md;
md.has_time_spec = false;
- std::vector<std::complex<float> > buff(tx_stream->get_max_num_samps()*10);
+ std::vector<samp_type> buff(tx_stream->get_max_num_samps()*10);
//values for the wave table lookup
size_t index = 0;
@@ -150,7 +150,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
threads.create_thread(boost::bind(&tx_thread, usrp, tx_wave_freq, tx_wave_ampl));
//re-usable buffer for samples
- std::vector<std::complex<float> > buff;
+ std::vector<samp_type> buff;
//store the results here
std::vector<result_t> results;