Commit 32d6604
committed
pbio/drv/usb: Increase transmit timeout.
When USB is receiving and transmitting a lot at the same time, transmissions sometimes take just over 50ms even when nothing is wrong. This would reset the connection, causing the code editor to fail.
We shouldn't raise a timeout error so soon in this case, so extend it to a duration that is more likely to represent a stuck state.1 parent 5b218c3 commit 32d6604
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments