summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-17 22:17:20 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:35:22 +0200
commite46c0781c9c851453e284e0010a387ebba6ef66b (patch)
treee27df4e8ecd47b0fabd2e491824e7594ff77572b
parent7d5ead2f4af50f1894a38d0eae97f1696c85131a (diff)
downloadlibnitrokey-e46c0781c9c851453e284e0010a387ebba6ef66b.tar.gz
libnitrokey-e46c0781c9c851453e284e0010a387ebba6ef66b.tar.bz2
Set shorter delays in sending/receiving packets (2)
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 33c0340..d5b15d6 100644
--- a/device.cc
+++ b/device.cc
@@ -94,8 +94,8 @@ Stick10::Stick10() {
Stick20::Stick20() {
m_vid = 0x20a0;
m_pid = 0x4109;
- m_retry_timeout = 100ms;
+ m_retry_timeout = 20ms;
m_model = DeviceModel::STORAGE;
- m_send_receive_delay = 100ms;
- m_retry_count = 30;
+ m_send_receive_delay = 20ms;
+ m_retry_count = 40;
}