From 8155e60edf14fe4adf7235e287aac8c485b7536e Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Wed, 5 Feb 2025 13:11:42 +0200 Subject: [PATCH] feat(esp_ringbuf): Update ring buffer doc Closes https://github.com/espressif/esp-idf/issues/15298 --- components/esp_ringbuf/include/freertos/ringbuf.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/esp_ringbuf/include/freertos/ringbuf.h b/components/esp_ringbuf/include/freertos/ringbuf.h index dc176a233a..d73299c1af 100644 --- a/components/esp_ringbuf/include/freertos/ringbuf.h +++ b/components/esp_ringbuf/include/freertos/ringbuf.h @@ -420,10 +420,6 @@ size_t xRingbufferGetMaxItemSize(RingbufHandle_t xRingbuffer); * buffer. This represents the maximum size an item/data can have if it was * currently sent to the ring buffer. * - * @warning This API is not thread safe. So, if multiple threads are accessing - * the same ring buffer, it is the application's responsibility to - * ensure atomic access to this API and the subsequent Send - * * @note An empty no-split buffer has a max current free size for an item * that is limited to ((buffer_size/2)-header_size). See API reference * for xRingbufferGetMaxItemSize().