Skip to content

Commit

Permalink
Ensure log output is correct with used IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
dotsam committed Feb 17, 2024
1 parent 9d4207e commit 70eda86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/BlueSCSI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,8 @@ void findDriveImages(FsFile root) {
if(tmp_id > -1 && tmp_id <= MAX_SCSIID) {
id = tmp_id;
} 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);
}
}

Expand All @@ -664,7 +665,8 @@ void findDriveImages(FsFile root) {
if(tmp_lun > -1 && tmp_lun <= NUM_SCSILUN) {
lun = tmp_lun;
} 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);
}
}

Expand Down

0 comments on commit 70eda86

Please sign in to comment.