Bladeren bron

Dont consider LUN in filename as it wont work, just force to 0

Eric Helgeson 3 jaren geleden
bovenliggende
commit
ab646260a0
1 gewijzigde bestanden met toevoegingen van 0 en 7 verwijderingen
  1. 0 7
      src/BlueSCSI.cpp

+ 0 - 7
src/BlueSCSI.cpp

@@ -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';