apache-mynewt-bot commented on issue #2252: [RFC] I2S API and driver for STM32 MCUs URL: https://github.com/apache/mynewt-core/pull/2252#issuecomment-605108684 <!-- style-bot --> ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) #### hw/drivers/i2s/include/i2s/i2s.h <details> ```diff @@ -64,7 +64,7 @@ * @param size single buffer size in bytes */ #define I2S_BUFFER_POOL_DEF(name, count, size) \ - static uint8_t _Alignas(struct i2s_buffer_pool) name ## _buffers[(sizeof(struct i2s_sample_buffer[count])) + \ + static uint8_t _Alignas(struct i2s_buffer_pool) name ## _buffers[(sizeof(struct i2s_sample_buffer [count])) + \ size * count]; \ struct i2s_buffer_pool name = { \ .buffer_size = size, \ ``` </details>
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services