We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a721767 commit f58633cCopy full SHA for f58633c
connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp
@@ -436,7 +436,7 @@ nsapi_size_or_error_t TELIT_ME310_CellularStack::socket_recvfrom_impl(CellularSo
436
// read() should not fail
437
success = false;
438
}
439
- } else if (timer.read_ms() < ME310_SOCKET_TIMEOUT) {
+ } else if (std::chrono::duration_cast<std::chrono::milliseconds>(timer.elapsed_time()) < std::chrono::milliseconds(ME310_SOCKET_TIMEOUT)) {
440
// Wait for URCs
441
_at.process_oob();
442
} else {
0 commit comments