Use updated transmit command
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Tue, 20 Oct 2009 17:57:15 +0000 (10:57 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Thu, 3 Dec 2009 23:49:13 +0000 (15:49 -0800)
Now compiles cleanly again.

usrp2/host/lib/usrp2_impl.cc

index d413d9e7bd78168b26cbfeba2b06dd354de82b1f..a74707634cd4c7c73ffc0d5320f2afe17a49a796 100644 (file)
@@ -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)