FIX: ubuntu complains about sleep...

This commit is contained in:
iceman1001 2017-07-30 09:30:42 +02:00
commit 19a2c05de0
5 changed files with 7 additions and 7 deletions

View file

@ -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);