From 8a3425ed3d1227077b5f315fefbc63fced6828d5 Mon Sep 17 00:00:00 2001 From: Gregor Mayramhof Date: Thu, 27 Aug 2020 07:45:06 +0200 Subject: [PATCH] Update connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com> --- .../cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp b/connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp index c51418267a..9839d1cfa6 100644 --- a/connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp +++ b/connectivity/drivers/cellular/TELIT/ME310/TELIT_ME310_CellularStack.cpp @@ -26,7 +26,7 @@ static const int sslctxID = 1; using namespace mbed; namespace mbed { -constexpr auto ME310_SOCKET_TIMEOUT = std::chrono::milliseconds(1000); +constexpr auto ME310_SOCKET_TIMEOUT = 1s; } TELIT_ME310_CellularStack::TELIT_ME310_CellularStack(ATHandler &atHandler, int cid, nsapi_ip_stack_t stack_type, AT_CellularDevice &device) : @@ -643,4 +643,4 @@ nsapi_error_t TELIT_ME310_CellularStack::setsockopt(nsapi_socket_t handle, int l return ret; } -#endif \ No newline at end of file +#endif