mirror of
https://github.com/dkgrizzly/GreenSCSI.git
synced 2024-11-25 09:31:07 +00:00
Ignore case on file names
This commit is contained in:
parent
9cfb9a6001
commit
6342dc58de
@ -426,7 +426,8 @@ void setup()
|
||||
file.getName(name, MAX_FILE_PATH+1);
|
||||
file.close();
|
||||
String file_name = String(name);
|
||||
if(file_name.startsWith("HD") && file_name.endsWith(".hda")) {
|
||||
file_name.toLowerCase();
|
||||
if(file_name.startsWith("hd") && file_name.endsWith(".hda")) {
|
||||
int id = name[HDIMG_ID_POS] - '0';
|
||||
int lun = name[HDIMG_LUN_POS] - '0';
|
||||
int blk = name[HDIMG_BLK_POS] - '0';
|
||||
|
Loading…
Reference in New Issue
Block a user