From: johanknol Date: Wed, 21 Feb 2001 16:01:31 +0000 (+0000) Subject: Completed the latest fix X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f0d590e69cd90af334421d5aa6474cd48546dcd8;p=fw%2Fsdcc Completed the latest fix git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@643 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/lib/ds390/tinibios.c b/device/lib/ds390/tinibios.c index 71c56cbd..fef37397 100755 --- a/device/lib/ds390/tinibios.c +++ b/device/lib/ds390/tinibios.c @@ -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