Explorar el Código

Log out if debug is enabled

Eric Helgeson hace 2 años
padre
commit
405c61c1d5
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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");