Ensure log output is correct with used IDs

This commit is contained in:
Sam Edwards 2024-02-12 15:05:18 -08:00
parent 9d4207ea14
commit 70eda86484
1 changed files with 4 additions and 2 deletions

View File

@ -653,7 +653,8 @@ void findDriveImages(FsFile root) {
if(tmp_id > -1 && tmp_id <= MAX_SCSIID) { if(tmp_id > -1 && tmp_id <= MAX_SCSIID) {
id = tmp_id; id = tmp_id;
} else { } else {
LOG_FILE.println("\t\tWARNING: Bad SCSI ID in filename, Using default ID 1"); LOG_FILE.print("\t\tWARNING: Bad SCSI ID in filename, Using default ID ");
LOG_FILE.println(id);
} }
} }
@ -664,7 +665,8 @@ void findDriveImages(FsFile root) {
if(tmp_lun > -1 && tmp_lun <= NUM_SCSILUN) { if(tmp_lun > -1 && tmp_lun <= NUM_SCSILUN) {
lun = tmp_lun; lun = tmp_lun;
} else { } else {
LOG_FILE.println("\t\tWARNING: Bad SCSI LUN in filename, Using default LUN ID 0"); LOG_FILE.print("\t\tWARNING: Bad SCSI LUN in filename, Using default LUN ID ");
LOG_FILE.println(lun);
} }
} }