Calmed down hyperactive sleep interval with drive scanning

ZeroFourZero
Thomas Schmitt 15 years ago
parent e6885f7fac
commit 2a669879a4
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      test/telltoc.c

@ -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");
while (!burn_drive_scan(&drive_list, &drive_count))
usleep(1002);
usleep(100002);
if (drive_count <= 0 && *driveno >= 0) {
fprintf(stderr, "FAILED (no drives found)\n");
return 0;

Loading…
Cancel
Save