diff options
| author | WuxiaBai <[email protected]> | 2023-04-29 05:58:59 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-28 17:58:59 -0400 |
| commit | 4eeca5049e599a5f3bbd354873f6d03bcf1aa2db (patch) | |
| tree | e9ede7d00948da506b51983f7da9444db7e7ef93 /libcpu | |
| parent | ce4674defa042fcc87cc1b54b739f81edae7d797 (diff) | |
[HUST CSE][libcpu][s3c44b0]Same expression on both sides of '|'
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/s3c44b0/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/s3c44b0/serial.c b/libcpu/arm/s3c44b0/serial.c index 95f8cb3487..ea9922cf13 100644 --- a/libcpu/arm/s3c44b0/serial.c +++ b/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; } |
