Completed the latest fix
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 21 Feb 2001 16:01:31 +0000 (16:01 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 21 Feb 2001 16:01:31 +0000 (16:01 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@643 4a8a32a2-be11-0410-ad9d-d568d2c75423

device/lib/ds390/tinibios.c

index 71c56cbdc830defbc5e238337d5f1876104be751..fef373975e9044b6e857e060a4cc4ab1c006dfa1 100755 (executable)
@@ -341,6 +341,7 @@ void Serial1Init (unsigned long baud, unsigned char buffered) {
   if (baud==0) {
     ES1=0; // disable interrupt
     SCON1 &= 0xef; // disable receiver
+    return; // and don't touch it
   }
 
   ES1 = 0; // disable channel 1 interrupt