]> begriffs open source - freertos/commit
xStreamBufferSend() caps the maximum amount of data a stream buffer can send to the...
authorRichardBarry <3073890+RichardBarry@users.noreply.github.com>
Sun, 11 Oct 2020 04:47:54 +0000 (21:47 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 04:47:54 +0000 (21:47 -0700)
commit71be31bb61a4af808bd674b2cd4b70f7fa060676
tree9f644d9ef52b0266e4409f21f79cb8e2f0f863c9
parent167ea16282dc5537c8b6ddfaefe2965db070a1fc
xStreamBufferSend() caps the maximum amount of data a stream buffer can send to the maximum capacity of the buffer - however the value to which the length is capped was wrong, and is correct by this check in.  Likewise when sending to a message buffer if the send length is too long the block time is set to 0 to ensure the sending task does not wait indefinitely for the impossible send to complete - but the length check was wrong, and is corrected by this check in. (#195)
stream_buffer.c