mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 21:53:30 +08:00
14e048aa8e
The serial getchar will only modify the LSB of ch, the MSB 3 bytes will be unchanged as the random value on stack, so if MSB 3 bytes not zero, the value got is wrong.