fix(modem): Fix AT client example to use custom AT processing
Need the callback reset upon removal of our custom AT command processing.
This issue has been introduced in cb6e03ac when refactoring DTE
callbacks.
Closes https://github.com/espressif/esp-protocols/issues/352
This commit is contained in:
parent
60d7145630
commit
1a5ba98964
1 changed files with 1 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ void DTE::on_read(got_line_cb on_read_cb)
|
|||
if (on_read_cb == nullptr) {
|
||||
primary_term->set_read_cb(nullptr);
|
||||
internal_lock.unlock();
|
||||
set_command_callbacks();
|
||||
return;
|
||||
}
|
||||
internal_lock.lock();
|
||||
|
|
|
|||
Loading…
Reference in a new issue