mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
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:
commit
2cddacd0ac
@ -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");
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user