summaryrefslogtreecommitdiff
path: root/usrp2
diff options
context:
space:
mode:
authorJohnathan Corgan2009-10-20 10:57:15 -0700
committerJohnathan Corgan2009-12-03 15:49:13 -0800
commit66610ead14a47a20f6d89d367a505e035ef04004 (patch)
tree78c45e4c9639b49f0b6afd153bb2d18efc6f0bd4 /usrp2
parenta90802f07bff7dd87bd6204c5b2004a946a99dbb (diff)
downloadgnuradio-66610ead14a47a20f6d89d367a505e035ef04004.tar.gz
gnuradio-66610ead14a47a20f6d89d367a505e035ef04004.tar.bz2
gnuradio-66610ead14a47a20f6d89d367a505e035ef04004.zip
Use updated transmit command
Now compiles cleanly again.
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/host/lib/usrp2_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc
index d413d9e7b..a74707634 100644
--- a/usrp2/host/lib/usrp2_impl.cc
+++ b/usrp2/host/lib/usrp2_impl.cc
@@ -707,7 +707,7 @@ namespace usrp2 {
bool success = false;
pending_reply p(cmd.op.rid, &reply, sizeof(reply));
- success = transmit_cmd(&cmd, sizeof(cmd), &p, DEF_CMD_TIMEOUT);
+ success = transmit_cmd_and_wait(&cmd, sizeof(cmd), &p, DEF_CMD_TIMEOUT);
success = success && (ntohx(reply.ok) == 1);
if (success)
@@ -761,7 +761,7 @@ namespace usrp2 {
bool success = false;
pending_reply p(cmd.sync_op.rid, &reply, sizeof(reply));
- success = transmit_cmd(&cmd, sizeof(cmd), &p, DEF_CMD_TIMEOUT);
+ success = transmit_cmd_and_wait(&cmd, sizeof(cmd), &p, DEF_CMD_TIMEOUT);
success = success && (ntohx(reply.ok) == 1);
if (success)