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 6bf4dda commit c4b93feCopy full SHA for c4b93fe
connectivity/libraries/ppp/source/ppp_service.cpp
@@ -60,7 +60,9 @@ extern "C" { // "pppos.h" is missing extern C
60
/* Timeout to wait for PPP connection to be terminated
61
* (LCP Terminate-Request is answered with Terminate-Ack)
62
*/
63
-#define PPP_TERMINATION_TIMEOUT 30s;
+using namespace std::chrono_literals;
64
+constexpr auto PPP_TERMINATION_TIMEOUT = 30s;
65
+
66
67
// If both IPCP and IPCP6 are made, how long to wait for both to complete
68
#define PPP_IPCP_IPCP6_DELAY 5000
0 commit comments