From bc9dd05988454428de1b6efd235d980b8eaa9afe Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 12 Aug 2015 12:19:20 -0700 Subject: C API cleanup, feature additions * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector handle --- host/examples/tx_samples_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples/tx_samples_c.c') diff --git a/host/examples/tx_samples_c.c b/host/examples/tx_samples_c.c index 3035297fd..ebf368ec7 100644 --- a/host/examples/tx_samples_c.c +++ b/host/examples/tx_samples_c.c @@ -201,7 +201,7 @@ int main(int argc, char* argv[]){ size_t num_samps_sent = 0; while(!stop_signal_called){ EXECUTE_OR_GOTO(free_tx_streamer, - uhd_tx_streamer_send(tx_streamer, buffs_ptr, samps_per_buff, md, 0.1, &num_samps_sent) + uhd_tx_streamer_send(tx_streamer, buffs_ptr, samps_per_buff, &md, 0.1, &num_samps_sent) ) if(verbose){ fprintf(stderr, "Sent %zu samples\n", num_samps_sent); -- cgit v1.2.3