mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-25 17:31:33 +02:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user