From 0e032eaab0f9407f65ade6c3049e936864af87b7 Mon Sep 17 00:00:00 2001 From: Gregor Mayramhof Date: Thu, 27 Aug 2020 07:45:16 +0200 Subject: [PATCH] Update connectivity/libraries/ppp/source/ppp_service.cpp Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com> --- connectivity/libraries/ppp/source/ppp_service.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/connectivity/libraries/ppp/source/ppp_service.cpp b/connectivity/libraries/ppp/source/ppp_service.cpp index 981fbc470c..4e3bfd895b 100644 --- a/connectivity/libraries/ppp/source/ppp_service.cpp +++ b/connectivity/libraries/ppp/source/ppp_service.cpp @@ -60,7 +60,7 @@ extern "C" { // "pppos.h" is missing extern C /* Timeout to wait for PPP connection to be terminated * (LCP Terminate-Request is answered with Terminate-Ack) */ -constexpr auto PPP_TERMINATION_TIMEOUT = 30000ms; +#define PPP_TERMINATION_TIMEOUT 30s; // If both IPCP and IPCP6 are made, how long to wait for both to complete #define PPP_IPCP_IPCP6_DELAY 5000 @@ -655,4 +655,3 @@ MBED_WEAK PPP &PPP::get_default_instance() */ /* --------------------------------- End Of File ------------------------------ */ -