Does help if the biggest offender is actually a #if DEBUG'ed
authorJohn Hodge <[email protected]>
Thu, 15 Jul 2010 15:48:16 +0000 (23:48 +0800)
committerJohn Hodge <[email protected]>
Thu, 15 Jul 2010 15:48:16 +0000 (23:48 +0800)
Modules/Storage/ATA/main.c

index 4bef197..be77348 100644 (file)
@@ -354,8 +354,10 @@ int ATA_ScanDisk(int Disk)
        else    // No? Just parse the MBR
                ATA_ParseMBR(Disk, &data.mbr);
        
+       #if DEBUG >= 2
        ATA_ReadDMA( Disk, 1, 1, &data );
        Debug_HexDump("ATA_ScanDisk", &data, 512);
+       #endif
 
        LEAVE('i', 0);
        return 1;

UCC git Repository :: git.ucc.asn.au