From: epetrich Date: Sat, 20 Dec 2003 08:41:45 +0000 (+0000) Subject: * device/lib/ds390/tinibios.c (CpuSpeed): suppress unreachable code warning X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=464e3e1b3b6b2bda5f17ac2ad288fe1fda9f0fb9;p=fw%2Fsdcc * device/lib/ds390/tinibios.c (CpuSpeed): suppress unreachable code warning git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3065 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 76d7b8cb..f1d30224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-20 Erik Petrich + + * device/lib/ds390/tinibios.c (CpuSpeed): suppress unreachable code + warning + 2003-12-20 Erik Petrich * src/SDCCast.h, diff --git a/device/lib/ds390/tinibios.c b/device/lib/ds390/tinibios.c index 13f87e12..b9c89688 100755 --- a/device/lib/ds390/tinibios.c +++ b/device/lib/ds390/tinibios.c @@ -134,8 +134,10 @@ unsigned int cpuSpeed; void CpuSpeed(unsigned int speed) { + #if 0 while (0 && (EXIF&0x04)) ; // cpu operates from ring buffer + #endif PMR = 0x80; // div4, CTM off, multiplier 2x switch (speed) {