mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-27 17:27:27 +02:00
fix(modem): Refine mode switch data->command
* netif.stop() moved after setting the transition callback * send PPP escape sequence if enabled before waiting for transition to complete * add newline character before sync() command (after the "+++") Closes https://github.com/espressif/esp-protocols/issues/692
This commit is contained in:
@ -52,7 +52,6 @@ void Netif::start()
|
||||
|
||||
void Netif::stop()
|
||||
{
|
||||
ppp_dte->set_read_cb(nullptr);
|
||||
signal.clear(PPP_STARTED);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user