commit | edc3c87c723b1757c59a1a5cb4367982f8d9e31d | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Tue Apr 27 11:34:55 2021 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu May 06 15:40:05 2021 +0200 |
tree | 7a5959d09442a93aaa002753a6194a7f497a9cde | |
parent | 7825487334002523e8003501565930fb559cfd9d [diff] |
lib: os: mpsc_buf: Allow dropping of skip packets in no overwrite Previously, when no overwrite mode was used and there was no space no packet was dropped. However, it should be allowed to drop skip packet that may be added as padding at the end of the buffer. Extended dropping scheme to drop skip packets in no overwrite mode. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>