sump/ols: Wait 10ms for hw response to make pl2303 reliable
This commit is contained in:
parent
71dda10656
commit
5b15b41e62
|
@ -257,8 +257,8 @@ static int hw_init(char *deviceinfo)
|
|||
free(l->data);
|
||||
}
|
||||
|
||||
/* 2ms should do (enough time for 28 bytes to go over the bus). */
|
||||
usleep(2000);
|
||||
/* 2ms isn't enough for reliable transfer with pl2303, let's try 10 */
|
||||
usleep(10000);
|
||||
|
||||
final_devcnt = 0;
|
||||
g_poll(fds, devcnt, 1);
|
||||
|
|
Loading…
Reference in New Issue