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