From: Johnathan Corgan Date: Tue, 20 Oct 2009 17:57:15 +0000 (-0700) Subject: Use updated transmit command X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=66610ead14a47a20f6d89d367a505e035ef04004;p=debian%2Fgnuradio Use updated transmit command Now compiles cleanly again. --- diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc index d413d9e7..a7470763 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)