Closed maroviher closed 4 years ago
in the following line https://github.com/MaJerle/stm32-usart-uart-dma-rx-tx/blob/master/projects/usart_rx_idle_line_irq_ringbuff_G0/Src/main.c#L92 you use a not initialized variable: static size_t old_pos; Is it a bug?
Static variables are automatically set to zero as per C standard.
in the following line https://github.com/MaJerle/stm32-usart-uart-dma-rx-tx/blob/master/projects/usart_rx_idle_line_irq_ringbuff_G0/Src/main.c#L92 you use a not initialized variable: static size_t old_pos; Is it a bug?