aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-17 22:10:48 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:35:22 +0200
commit7d5ead2f4af50f1894a38d0eae97f1696c85131a (patch)
treea0eb1ddba14709f800ed7cf9dc9a3f80ec552846
parent803a6aa41e82828dcbe7e02bcdcf20d776b60050 (diff)
downloadlibnitrokey-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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.cc b/device.cc
index 04569a9..33c0340 100644
--- a/device.cc
+++ b/device.cc
@@ -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;
}