summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-07-25 16:50:35 -0700
committerJosh Blum <josh@joshknows.com>2013-07-25 16:50:35 -0700
commita812d8a3ef4ede4fd0f6996a22b988815c329afd (patch)
tree3df50a2a884409ee42a45d170fd5b6799d446757
parentcd9763f94f4664df87b93e777bc69b34598f5793 (diff)
downloaduhd-a812d8a3ef4ede4fd0f6996a22b988815c329afd.tar.gz
uhd-a812d8a3ef4ede4fd0f6996a22b988815c329afd.tar.bz2
uhd-a812d8a3ef4ede4fd0f6996a22b988815c329afd.zip
b200: increase timeout for extreme cases
-rw-r--r--host/lib/usrp/b200/b200_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_iface.cpp b/host/lib/usrp/b200/b200_iface.cpp
index 933df8499..f4a520374 100644
--- a/host/lib/usrp/b200/b200_iface.cpp
+++ b/host/lib/usrp/b200/b200_iface.cpp
@@ -281,7 +281,7 @@ public:
void ad9361_transact(const unsigned char in_buff[64], unsigned char out_buff[64]) {
fx3_control_write(B200_VREQ_AD9361_CTRL_WRITE, 0x00, 0x00, (unsigned char *)in_buff, 64);
int ret = 0;
- for (size_t i = 0; i < 10; i++)
+ for (size_t i = 0; i < 30; i++)
{
ret = fx3_control_read(B200_VREQ_AD9361_CTRL_READ, 0x00, 0x00, out_buff, 64, 1000);
if (ret == 64) return;