forked from espressif/esp-protocols
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:
1 parent
849fe7b6cb
commit
8b6ea3311a
4 files changed
+20
-5
No files matched your search
@@ -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