fix(modem): Fix DTE to post fragments to parsers for USB term
This commit is contained in:
parent
3e8de3af3a
commit
1db1e1508d
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue