Selaa lähdekoodia

Log out if debug is enabled

Eric Helgeson 2 vuotta sitten
vanhempi
sitoutus
405c61c1d5
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      src/BlueSCSI_disk.cpp

+ 5 - 0
src/BlueSCSI_disk.cpp

@@ -968,6 +968,11 @@ void s2s_configInit(S2S_BoardCfg* config)
         config->flags |= S2S_CFG_MAP_LUNS_TO_IDS;
     }
 
+    if (ini_getbool("SCSI", "Debug", 0, CONFIGFILE))
+    {
+        bluelog("-- Debug is enabled");
+    }
+
     if (ini_getbool("SCSI", "Parity", true, CONFIGFILE))
     {
         log("-- Parity is enabled");