From 5cd264c294ca6f1bf0758bb5fb0b51f3584d2795 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 29 Jul 2016 15:15:03 +0200 Subject: Set variable send_receive delay Signed-off-by: Szczepan Zalega --- include/device_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/device_proto.h') diff --git a/include/device_proto.h b/include/device_proto.h index 7e2c0d9..6e21f9f 100644 --- a/include/device_proto.h +++ b/include/device_proto.h @@ -191,7 +191,7 @@ class Transaction : semantics::non_constructible { std::string("Device error while sending command ") + std::to_string((int)(status))); - std::this_thread::sleep_for(1000ms); + std::this_thread::sleep_for(dev.get_send_receive_delay()); // FIXME make checks done in device:recv here int retry = dev.get_retry_count(); -- cgit v1.2.1