fix(modem): Fix autodetect to support ACFC mode in PPP frames

Closes https://github.com/espressif/esp-protocols/issues/801
This commit is contained in:
David Cermak
2025-04-15 17:14:57 +02:00
parent 01952f21cb
commit 8b328a6904
2 changed files with 41 additions and 16 deletions

View File

@@ -359,7 +359,6 @@ void DTE::on_read(got_line_cb on_read_cb)
auto res = on_read_cb(data, len);
if (res == command_result::OK || res == command_result::FAIL) {
primary_term->set_read_cb(nullptr);
internal_lock.unlock();
return true;
}
return false;