]> git.gag.com Git - fw/sdcc/commitdiff
* device/lib/ds390/tinibios.c (CpuSpeed): suppress unreachable code warning
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 20 Dec 2003 08:41:45 +0000 (08:41 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 20 Dec 2003 08:41:45 +0000 (08:41 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3065 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/lib/ds390/tinibios.c

index 76d7b8cbcba77539a95f2884a2a05055916b4ba5..f1d302248ffbd8e82f7eee0a0e818384ada805f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-20 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * device/lib/ds390/tinibios.c (CpuSpeed): suppress unreachable code
+       warning
+
 2003-12-20 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
        * src/SDCCast.h,
index 13f87e12ca7c42d641e8910e30b008b4aa7902f2..b9c89688d7baf3e8b768e4c4e4ff0f894d5c05a0 100755 (executable)
@@ -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) 
     {