1.tty去掉延时
This commit is contained in:
parent
8690cc72b8
commit
17079f8ab3
|
@ -249,8 +249,8 @@ static SINT32 hal_ttyusb_read(SINT32 fd, SF_CHAR *recvBuf, SINT32 waitTime)
|
||||||
SINT32 s32ret = 0;
|
SINT32 s32ret = 0;
|
||||||
fd_set read_fds;
|
fd_set read_fds;
|
||||||
struct timeval TimeoutVal;
|
struct timeval TimeoutVal;
|
||||||
if(waitTime > 0)
|
//if(waitTime > 0)
|
||||||
sf_sleep_ms(waitTime);
|
// sf_sleep_ms(waitTime);
|
||||||
|
|
||||||
//while(waitTime--)
|
//while(waitTime--)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user