summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorKonstantin Ullrich <konstantinullrich12@gmail.com>2024-11-12 15:59:34 +0100
committerKonstantin Ullrich <konstantinullrich12@gmail.com>2024-11-12 15:59:34 +0100
commitb7b85a04ad47d82918f9d0efe02a6b94f4fb3fa1 (patch)
tree6c619134f707fca031655d43c61d9f38bf09256d /patches
parentd47fb528282fd795ec33da79b5bd218840495629 (diff)
use usleep instead of sleepbetter-sleep
Diffstat (limited to 'patches')
-rw-r--r--patches/monero/0016-add-dummy-device-for-ledger.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/monero/0016-add-dummy-device-for-ledger.patch b/patches/monero/0016-add-dummy-device-for-ledger.patch
index 364d6fd..dddb4b1 100644
--- a/patches/monero/0016-add-dummy-device-for-ledger.patch
+++ b/patches/monero/0016-add-dummy-device-for-ledger.patch
@@ -234,13 +234,13 @@ index 000000000..fb082694e
+ MDEBUG("exchange(): waitsForDeviceSend");
+ // NOTE: waitsForDeviceSend should be changed by external code
+ while (waitsForDeviceSend) {
-+ sleep(1);
++ usleep(1000);
+ MDEBUG("exchange(): waitsForDeviceSend (still)");
+ }
+
+ MDEBUG("exchange(): waitsForDeviceReceive");
+ while (waitsForDeviceReceive) {
-+ sleep(1);
++ usleep(1000);
+ MDEBUG("exchange(): waitsForDeviceReceive (still)");
+ }
+