Calmed down hyperactive sleep interval with drive scanning
This commit is contained in:
parent
e6885f7fac
commit
2a669879a4
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2007.10.16.212205"
|
#define Cdrskin_timestamP "2007.10.18.193920"
|
||||||
|
@ -171,7 +171,7 @@ int telltoc_aquire_by_driveno(int *driveno, int silent_drive)
|
|||||||
|
|
||||||
fprintf(stderr, "Beginning to scan for devices ...\n");
|
fprintf(stderr, "Beginning to scan for devices ...\n");
|
||||||
while (!burn_drive_scan(&drive_list, &drive_count))
|
while (!burn_drive_scan(&drive_list, &drive_count))
|
||||||
usleep(1002);
|
usleep(100002);
|
||||||
if (drive_count <= 0 && *driveno >= 0) {
|
if (drive_count <= 0 && *driveno >= 0) {
|
||||||
fprintf(stderr, "FAILED (no drives found)\n");
|
fprintf(stderr, "FAILED (no drives found)\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user