Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp

Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
pull/13476/head
Gregor Mayramhof 2020-08-27 21:08:55 +02:00 committed by GitHub
parent 6488381c8c
commit 2b4268ac16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ nsapi_size_or_error_t TELIT_ME310_CellularStack::socket_recvfrom_impl(CellularSo
// read() should not fail
success = false;
}
} else if (std::chrono::duration_cast<std::chrono::milliseconds>(timer.elapsed_time()) < socket_timeout) {
} else if (timer.elapsed_time() < socket_timeout) {
// Wait for URCs
_at.process_oob();
} else {