Fixed a type found by Scott
[fw/sdcc] / device / lib / ds390 / tinibios.c
index d70e4427cfbe8874f62a76526def2da11f9d46c6..71c56cbdc830defbc5e238337d5f1876104be751 100755 (executable)
@@ -338,7 +338,7 @@ static data unsigned char serial1Buffered;
 
 void Serial1Init (unsigned long baud, unsigned char buffered) {
   
-  if (baud=0) {
+  if (baud==0) {
     ES1=0; // disable interrupt
     SCON1 &= 0xef; // disable receiver
   }