diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-10-17 22:10:48 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-10-19 16:35:22 +0200 |
commit | 7d5ead2f4af50f1894a38d0eae97f1696c85131a (patch) | |
tree | a0eb1ddba14709f800ed7cf9dc9a3f80ec552846 | |
parent | 803a6aa41e82828dcbe7e02bcdcf20d776b60050 (diff) | |
download | libnitrokey-7d5ead2f4af50f1894a38d0eae97f1696c85131a.tar.gz libnitrokey-7d5ead2f4af50f1894a38d0eae97f1696c85131a.tar.bz2 |
Set shorter delays in sending/receiving packets
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | device.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -94,8 +94,8 @@ Stick10::Stick10() { Stick20::Stick20() { m_vid = 0x20a0; m_pid = 0x4109; - m_retry_timeout = 1000ms; + m_retry_timeout = 100ms; m_model = DeviceModel::STORAGE; - m_send_receive_delay = 1000ms; - m_retry_count = 50; + m_send_receive_delay = 100ms; + m_retry_count = 30; } |