Merge branch 'docs/fix_ringbuf_doc_xringbuffersendcomplete' into 'master'

docs(esp_ringbuf): Fixed incorrect documentation for xRingBufferSendComplete()

Closes IDFGH-14191

See merge request espressif/esp-idf!35497
This commit is contained in:
Sudeep Mohanty 2024-12-09 17:05:39 +08:00
commit 2cddacd0ac
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ The following example demonstrates the usage of :cpp:func:`xRingbufferSendAcquir
.buf = item->buf,
};
//Actually send to the ring buffer for consumer to use
res = xRingbufferSendComplete(buf_handle, &item);
res = xRingbufferSendComplete(buf_handle, (void *)item);
if (res != pdTRUE) {
printf("Failed to send item\n");
}

View File

@ -111,7 +111,7 @@ ESP-IDF 环形 buffer 是一个典型的 FIFO buffer支持任意大小的数
.buf = item->buf,
};
//实际发送到环形 buffer 以供使用
res = xRingbufferSendComplete(buf_handle, &item);
res = xRingbufferSendComplete(buf_handle, (void *)item);
if (res != pdTRUE) {
printf("Failed to send item\n");
}