Browse Source

Prevented premature BURN_DRIVE_IDLE introduced with revision 443

tags/ZeroThreeZero
Thomas Schmitt 13 years ago
parent
commit
9270f41c65
3 changed files with 3 additions and 5 deletions
  1. +1
    -1
      cdrskin/cdrskin_timestamp.h
  2. +0
    -1
      libburn/drive.c
  3. +2
    -3
      libburn/write.c

+ 1
- 1
cdrskin/cdrskin_timestamp.h View File

@@ -1 +1 @@
#define Cdrskin_timestamP "2006.11.25.170456"
#define Cdrskin_timestamP "2006.11.25.182841"

+ 0
- 1
libburn/drive.c View File

@@ -456,7 +456,6 @@ void burn_disc_erase_sync(struct burn_drive *d, int fast)
!d->test_unit_ready(d))
sleep(1);
d->progress.sector = 0x10000;
d->busy = BURN_DRIVE_IDLE;

/* ts A61125 : update media state records */
burn_drive_mark_unready(d);


+ 2
- 3
libburn/write.c View File

@@ -920,13 +920,12 @@ return crap. so we send the command, then ignore the result.

sleep(1);

burn_print(1, "done\n");
d->busy = BURN_DRIVE_IDLE;

/* ts A61125 : update media state records */
burn_drive_mark_unready(d);
burn_drive_inquire_media(d);

burn_print(1, "done\n");

/* ts A61012 : This return was traditionally missing. I suspect this
to have caused Cdrskin_eject() failures */
return;


Loading…
Cancel
Save