Correction for drives which return empty tray as profile 0x00 rather than error

This commit is contained in:
Thomas Schmitt 2006-12-02 13:06:05 +00:00
parent d30f687b97
commit 314ed864da
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2006.12.02.111701"
#define Cdrskin_timestamP "2006.12.02.130631"

View File

@ -476,7 +476,8 @@ void mmc_read_disc_info(struct burn_drive *d)
return;
mmc_get_configuration(d);
if (! d->current_is_cd_profile) {
if ((d->current_profile != 0 || d->status != BURN_DISC_UNREADY)
&& ! d->current_is_cd_profile) {
sprintf(msg, "Unsuitable media detected. Profile %4.4Xh %s",
d->current_profile, d->current_profile_text);
libdax_msgs_submit(libdax_messenger, d->global_index,