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

@ -333,9 +333,9 @@ static int enter_bootloader(void)
fprintf(stderr,"Waiting for Proxmark to reappear on USB...");
CloseProxmark();
sleep(1);
msleep(1000);
while (!OpenProxmark(0)) {
sleep(1);
msleep(1000);
fprintf(stderr, ".");
}
fprintf(stderr," Found.\n");