Эх сурвалжийг харах

docs: This warning is almost never actionable and confuses users.
Moving to debug, if a user is having an issue then they'll see this when they turn on debug.

Eric Helgeson 1 жил өмнө
parent
commit
5727fcc83f

+ 5 - 5
src/BlueSCSI_disk.cpp

@@ -512,11 +512,11 @@ static void checkDiskGeometryDivisible(image_config_t &img)
         uint32_t sectorsPerHeadTrack = img.sectorsPerTrack * img.headsPerCylinder;
         uint32_t sectorsPerHeadTrack = img.sectorsPerTrack * img.headsPerCylinder;
         if (img.scsiSectors % sectorsPerHeadTrack != 0)
         if (img.scsiSectors % sectorsPerHeadTrack != 0)
         {
         {
-            log("WARNING: Host used command ", scsiDev.cdb[0],
-                " which is affected by drive geometry. Current settings are ",
-                (int)img.sectorsPerTrack, " sectors x ", (int)img.headsPerCylinder, " heads = ",
-                (int)sectorsPerHeadTrack, " but image size of ", (int)img.scsiSectors,
-                " sectors is not divisible. This can cause error messages in diagnostics tools.");
+            debuglog("WARNING: Host used command ", scsiDev.cdb[0],
+                     " which is affected by drive geometry. Current settings are ",
+                     (int)img.sectorsPerTrack, " sectors x ", (int)img.headsPerCylinder, " heads = ",
+                     (int)sectorsPerHeadTrack, " but image size of ", (int)img.scsiSectors,
+                     " sectors is not divisible. This can cause error messages in diagnostics tools.");
             img.geometrywarningprinted = true;
             img.geometrywarningprinted = true;
         }
         }
     }
     }