mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-27 20:59:22 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user