more time for ReadLn
This commit is contained in:
parent
a07f2bfd6c
commit
8a479f5841
@ -335,6 +335,7 @@ int E32_Driver::ReadLn(std::string& data, TickType_t ticks_to_wait) {
|
|||||||
if (read < 1) {
|
if (read < 1) {
|
||||||
return read;
|
return read;
|
||||||
}
|
}
|
||||||
|
ticks_to_wait += pdMS_TO_TICKS(10); // give it a bit more time...
|
||||||
if (byte == '\n') break;
|
if (byte == '\n') break;
|
||||||
data += (char)byte;
|
data += (char)byte;
|
||||||
total_read += read;
|
total_read += read;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user