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 30e0ff6 commit c7d520eCopy full SHA for c7d520e
connectivity/libraries/ppp/source/ppp_service.cpp
@@ -358,7 +358,7 @@ nsapi_error_t ppp_service::ppp_if_disconnect()
358
ret = ppp_close(ppp_service_pcb, 0);
359
if (ret == ERR_OK) {
360
/* close call made, now let's catch the response in the status callback */
361
- ppp_service_close_sem.try_acquire_for(PPP_TERMINATION_TIMEOUT);
+ ppp_service_close_sem.try_acquire_for(std::chrono::milliseconds(PPP_TERMINATION_TIMEOUT));
362
}
363
ppp_service_active = false;
364
0 commit comments