mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-12-31 10:32:45 +00:00
Dont consider LUN in filename as it wont work, just force to 0
This commit is contained in:
parent
3e616f6a38
commit
ab646260a0
@ -488,14 +488,7 @@ void setup()
|
||||
usedDefaultId++;
|
||||
}
|
||||
}
|
||||
if(file_name_length > 3) { // HD0[N]
|
||||
int tmp_lun = name[HDIMG_LUN_POS] - '0';
|
||||
|
||||
if(tmp_lun != 0) {
|
||||
LOG_FILE.println("!! Only 0 is supported for LUN, forcing to 0 !!");
|
||||
LOG_FILE.sync();
|
||||
}
|
||||
}
|
||||
int blk1, blk2, blk3, blk4 = 0;
|
||||
if(file_name_length > 8) { // HD00_[111]
|
||||
blk1 = name[HDIMG_BLK_POS] - '0';
|
||||
|
Loading…
Reference in New Issue
Block a user