From 3e093f67f2bf662d408698398a581d888872cf67 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 2 Aug 2016 12:55:56 +0200 Subject: Increase delay and retry count for response receiving Signed-off-by: Szczepan Zalega --- device.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/device.cc b/device.cc index 326f7f4..6660276 100644 --- a/device.cc +++ b/device.cc @@ -14,7 +14,7 @@ Device::Device() : m_vid(0), m_pid(0), m_retry_count(40), - m_retry_timeout(50), + m_retry_timeout(100), mp_devhandle(NULL), last_command_status(0){} @@ -85,7 +85,8 @@ Stick10::Stick10() { m_vid = 0x20a0; m_pid = 0x4108; m_model = DeviceModel::PRO; - m_send_receive_delay = 10ms; + m_send_receive_delay = 100ms; + m_retry_count = 100; } Stick20::Stick20() { -- cgit v1.2.3