From 8a479f584123ea6f906d0c70009705df6a7fa376 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Wed, 15 May 2019 21:21:39 -0700 Subject: [PATCH] more time for ReadLn --- main/e32_driver.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/main/e32_driver.cc b/main/e32_driver.cc index 712f1bf..bcc5886 100644 --- a/main/e32_driver.cc +++ b/main/e32_driver.cc @@ -335,6 +335,7 @@ int E32_Driver::ReadLn(std::string& data, TickType_t ticks_to_wait) { if (read < 1) { return read; } + ticks_to_wait += pdMS_TO_TICKS(10); // give it a bit more time... if (byte == '\n') break; data += (char)byte; total_read += read;