1.tty去掉延时

This commit is contained in:
payton 2023-08-11 11:10:01 +08:00
parent 8690cc72b8
commit 17079f8ab3

View File

@ -249,8 +249,8 @@ static SINT32 hal_ttyusb_read(SINT32 fd, SF_CHAR *recvBuf, SINT32 waitTime)
SINT32 s32ret = 0;
fd_set read_fds;
struct timeval TimeoutVal;
if(waitTime > 0)
sf_sleep_ms(waitTime);
//if(waitTime > 0)
// sf_sleep_ms(waitTime);
//while(waitTime--)
{