esp-idf/components/esp_ringbuf/include/freertos
Darian Leung 8cb70f0d12 ringbuf: Fix ordering of StaticRingbuffer_t
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.

This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.

Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:30:43 +01:00
..
ringbuf.h ringbuf: Fix ordering of StaticRingbuffer_t 2023-07-04 21:30:43 +01:00