aboutsummaryrefslogtreecommitdiff
path: root/device.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-29 15:15:03 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:58 +0200
commit5cd264c294ca6f1bf0758bb5fb0b51f3584d2795 (patch)
tree0b53876fbe298999835dc44e50d77696e2dde40f /device.cc
parent24ad4504648cd3918bb181b1d54a7c3441c02ae0 (diff)
downloadlibnitrokey-5cd264c294ca6f1bf0758bb5fb0b51f3584d2795.tar.gz
libnitrokey-5cd264c294ca6f1bf0758bb5fb0b51f3584d2795.tar.bz2
Set variable send_receive delay
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
-rw-r--r--device.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.cc b/device.cc
index 4f11e23..326f7f4 100644
--- a/device.cc
+++ b/device.cc
@@ -85,6 +85,7 @@ Stick10::Stick10() {
m_vid = 0x20a0;
m_pid = 0x4108;
m_model = DeviceModel::PRO;
+ m_send_receive_delay = 10ms;
}
Stick20::Stick20() {
@@ -92,5 +93,5 @@ Stick20::Stick20() {
m_pid = 0x4109;
m_retry_timeout = std::chrono::milliseconds(500);
m_model = DeviceModel::STORAGE;
-
+ m_send_receive_delay = 1000ms;
}