double the timeout to make errors less likely
r3093 | dcl | 2011-04-05 17:37:51 +1000 (Tue, 05 Apr 2011) | 1 line
This commit is contained in:
@@ -133,9 +133,9 @@ int NewportReading(Ascon *a) {
|
||||
else
|
||||
timeout = 1.0;
|
||||
} else if (text[len - 1] == '\r') {
|
||||
timeout = 0.1;
|
||||
timeout = 0.2;
|
||||
} else {
|
||||
timeout = 0.1;
|
||||
timeout = 0.2;
|
||||
}
|
||||
if ((now - a->start) > timeout) {
|
||||
if (len < 5) {
|
||||
|
||||
Reference in New Issue
Block a user