Skip to content

Commit c4b93fe

Browse files
talorionkjbracey
andcommitted
Update connectivity/drivers/802.15.4_RF/atmel-rf-driver/source/NanostackRfPhyAT86RF215.cpp
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
1 parent 6bf4dda commit c4b93fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

connectivity/libraries/ppp/source/ppp_service.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ 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-
#define PPP_TERMINATION_TIMEOUT 30s;
63+
using namespace std::chrono_literals;
64+
constexpr auto PPP_TERMINATION_TIMEOUT = 30s;
65+
6466

6567
// If both IPCP and IPCP6 are made, how long to wait for both to complete
6668
#define PPP_IPCP_IPCP6_DELAY 5000

0 commit comments

Comments
 (0)