From a812d8a3ef4ede4fd0f6996a22b988815c329afd Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 25 Jul 2013 16:50:35 -0700 Subject: b200: increase timeout for extreme cases --- host/lib/usrp/b200/b200_iface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3