[common] Make Serial RX buffer size configurable, increase default to 256 bytes (#313)

* Make Serial RX buffer configurable and set default to 256 bytes

* Replace RingBuffer by SerialRingBuffer
This commit is contained in:
Hajo Noerenberg
2025-01-13 12:14:41 +01:00
committed by GitHub
parent 3d23211c1e
commit 2ea0066536
7 changed files with 14 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
typedef struct {
UART_TypeDef *uart;
IRQn irq;
RingBuffer buf;
SerialRingBuffer buf;
} SerialData;
#define DATA ((SerialData *)data)