From: Klas Lindfors Date: Fri, 27 Dec 2013 15:00:58 +0000 (+0100) Subject: shorter initial sleep when waiting for key status X-Git-Tag: v1.14.2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1bdea9434bfa4a756e63e79de65f7b58eb9853c;p=yubikey-personalization shorter initial sleep when waiting for key status relates to #38 --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 4810625..b3e1dce 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -458,7 +458,7 @@ int yk_wait_for_key_status(YK_KEY *yk, uint8_t slot, unsigned int flags, { unsigned char data[FEATURE_RPT_SIZE]; - unsigned int sleepval = 10; + unsigned int sleepval = 1; unsigned int slept_time = 0; int blocking = 0;