mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-26 01:41:32 +02:00
fix(modem): Fix DTE to post fragments to parsers for USB term
This commit is contained in:
@ -78,9 +78,9 @@ void DTE::set_command_callbacks()
|
|||||||
if (command_cb.process_line(data, 0, len)) {
|
if (command_cb.process_line(data, 0, len)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// cannot inflate and the processing hasn't finishes in the first iteration -> report a failure
|
// cannot inflate and the processing hasn't finishes in the first iteration, but continue
|
||||||
command_cb.give_up();
|
// (will post next fragments to the parser, since we might be just missing a last token or OK
|
||||||
return true;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
// data == nullptr: Terminals which request users to read current data
|
// data == nullptr: Terminals which request users to read current data
|
||||||
|
Reference in New Issue
Block a user