Browse Source

[HUST CSE][libcpu][s3c44b0]Same expression on both sides of '|'

WuxiaBai 2 years ago
parent
commit
4eeca5049e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libcpu/arm/s3c44b0/serial.c

+ 1 - 1
libcpu/arm/s3c44b0/serial.c

@@ -75,7 +75,7 @@ void rt_serial_init()
     UBRDIV0 = divisor;
 
     /* word length=8bit, stop bit = 1, no parity, use external clock */
-    ULCON0  = 0x03|0x00|0x00;
+    ULCON0  = 0x03;
 
     UCON0   = 0x5;
 }