Fork自 RT-Thread / rt-thread
体验新版 GitCode,发现更多精彩内容 >>
The previous implementation will always blocks the reader/writer. However, at least FinSh would expect the device to be nonblocking --- read should return 0 when there is no data in it.
拖放文件到此处或点击上传