]> err.no Git - yubikey-personalization/commitdiff
shorter initial sleep when waiting for key status
authorKlas Lindfors <klas@yubico.com>
Fri, 27 Dec 2013 15:00:58 +0000 (16:00 +0100)
committerKlas Lindfors <klas@yubico.com>
Fri, 27 Dec 2013 15:00:58 +0000 (16:00 +0100)
relates to #38

ykcore/ykcore.c

index 4810625ba82d97073d4cceb85f310e6ef17a661e..b3e1dce86808a75b083971b9d01a96652f8c0dfb 100644 (file)
@@ -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;