mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
FIX: ubuntu complains about sleep...
This commit is contained in:
parent
e449e2ba88
commit
19a2c05de0
5 changed files with 7 additions and 7 deletions
|
@ -42,7 +42,7 @@ void SendCommand(UsbCommand *c)
|
|||
usb_close(devh);
|
||||
devh = NULL;
|
||||
}
|
||||
while(!OpenProxmark(0)) { sleep(1); }
|
||||
while(!OpenProxmark(0)) { msleep(1000); }
|
||||
printf(PROXPROMPT);
|
||||
fflush(NULL);
|
||||
|
||||
|
@ -69,7 +69,7 @@ bool ReceiveCommandPoll(UsbCommand *c)
|
|||
usb_close(devh);
|
||||
devh = NULL;
|
||||
}
|
||||
while(!OpenProxmark(0)) { sleep(1); }
|
||||
while(!OpenProxmark(0)) { msleep(1000); }
|
||||
printf(PROXPROMPT);
|
||||
fflush(NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue