Calmed down hyperactive sleep interval with drive scanning

This commit is contained in:
Thomas Schmitt 2007-10-18 19:39:13 +00:00
parent d444c29909
commit 11d9ff7c2d
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.10.16.212205" #define Cdrskin_timestamP "2007.10.18.193920"

View File

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