esp-idf/components/esp_ringbuf/include/freertos
Darian Leung 52589aca08 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.

Note: Removed all usage configSUPPORT_STATIC_ALLOCATION preprocessor conditions
as the macro is always set to 1.

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