From f0d590e69cd90af334421d5aa6474cd48546dcd8 Mon Sep 17 00:00:00 2001 From: johanknol Date: Wed, 21 Feb 2001 16:01:31 +0000 Subject: [PATCH] Completed the latest fix git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@643 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- device/lib/ds390/tinibios.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2