From: John Hodge Date: Thu, 15 Jul 2010 15:48:16 +0000 (+0800) Subject: Does help if the biggest offender is actually a #if DEBUG'ed X-Git-Tag: rel0.06~103 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f7a186de2a697c642e6277af7ee45a62197de1a5;p=tpg%2Facess2.git Does help if the biggest offender is actually a #if DEBUG'ed --- diff --git a/Modules/Storage/ATA/main.c b/Modules/Storage/ATA/main.c index 4bef197a..be77348a 100644 --- a/Modules/Storage/ATA/main.c +++ b/Modules/Storage/ATA/main.c @@ -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;