Skip to content

Commit 0e032ea

Browse files
Update connectivity/libraries/ppp/source/ppp_service.cpp
Co-authored-by: Hugues Kamba <[email protected]>
1 parent 8a3425e commit 0e032ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

connectivity/libraries/ppp/source/ppp_service.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ extern "C" { // "pppos.h" is missing extern C
6060
/* Timeout to wait for PPP connection to be terminated
6161
* (LCP Terminate-Request is answered with Terminate-Ack)
6262
*/
63-
constexpr auto PPP_TERMINATION_TIMEOUT = 30000ms;
63+
#define PPP_TERMINATION_TIMEOUT 30s;
6464

6565
// If both IPCP and IPCP6 are made, how long to wait for both to complete
6666
#define PPP_IPCP_IPCP6_DELAY 5000
@@ -655,4 +655,3 @@ MBED_WEAK PPP &PPP::get_default_instance()
655655
*/
656656

657657
/* --------------------------------- End Of File ------------------------------ */
658-

0 commit comments

Comments
 (0)