summaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-17 17:16:31 +0000
committerJosh Blum <josh@joshknows.com>2010-08-17 17:16:31 +0000
commit1b47702245f0c1f4dda3e0eff487bbe664d48855 (patch)
treed520539d1ad3502e789b74c40121d8415328ceb0 /host/examples
parenta340b9fb5ffe0e43a746ce8ce051b08444a1a713 (diff)
downloaduhd-1b47702245f0c1f4dda3e0eff487bbe664d48855.tar.gz
uhd-1b47702245f0c1f4dda3e0eff487bbe664d48855.tar.bz2
uhd-1b47702245f0c1f4dda3e0eff487bbe664d48855.zip
usrp-e: misc code tweaks
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/tx_timed_samples.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_timed_samples.cpp b/host/examples/tx_timed_samples.cpp
index ceae58a22..aa22d3465 100644
--- a/host/examples/tx_timed_samples.cpp
+++ b/host/examples/tx_timed_samples.cpp
@@ -77,7 +77,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
sdev->set_time_now(uhd::time_spec_t(0.0));
//allocate data to send
- std::vector<std::complex<short> > buff(samps_per_packet, std::complex<float>(ampl, ampl));
+ std::vector<std::complex<short> > buff(samps_per_packet, std::complex<short>(ampl, ampl));
uhd::tx_metadata_t md;
//send the data in multiple packets