From 66610ead14a47a20f6d89d367a505e035ef04004 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Tue, 20 Oct 2009 10:57:15 -0700 Subject: [PATCH] Use updated transmit command Now compiles cleanly again. --- usrp2/host/lib/usrp2_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.2