mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-05 14:19:05 +00:00
logging/nxscope: do not complete the stream frame if the previous send failed
In this case, the buffer already contains a frame ready to be send
This commit is contained in:
parent
8726e530d5
commit
5eebfbb441
2 changed files with 14 additions and 5 deletions
|
|
@ -360,6 +360,7 @@ struct nxscope_s
|
|||
FAR uint8_t *streambuf;
|
||||
size_t streambuf_len;
|
||||
size_t stream_i;
|
||||
bool stream_retry;
|
||||
|
||||
#ifdef CONFIG_LOGGING_NXSCOPE_CRICHANNELS
|
||||
/* Critical buffer data */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue