Prevented premature BURN_DRIVE_IDLE introduced with revision 443

This commit is contained in:
Thomas Schmitt 2006-11-25 18:30:06 +00:00
parent 61bdd924d8
commit 1580663ada
3 changed files with 3 additions and 5 deletions

View File

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

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

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;