From 144688e523b9e26c14668d57a82ca706cf3620dd Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Mon, 13 May 2024 13:49:08 +0200 Subject: [PATCH] libraries/SoftwareSerial: Fix ring buffer data type. Fixes #243. Signed-off-by: iabdalkader --- libraries/SoftwareSerial/src/SoftwareSerial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SoftwareSerial/src/SoftwareSerial.h b/libraries/SoftwareSerial/src/SoftwareSerial.h index 77c1292b..e62cac7e 100644 --- a/libraries/SoftwareSerial/src/SoftwareSerial.h +++ b/libraries/SoftwareSerial/src/SoftwareSerial.h @@ -57,7 +57,7 @@ template struct ss_descr_t { fsp_dma_t dma; fsp_pin_t pin; int irq_chan; - ::RingBuffer ringbuf; + ::RingBuffer ringbuf; uint32_t dmabuf[N][SS_MAX_FRAME_SIZE] __attribute__((aligned(4))); ss_descr_t(size_t bufsize): irq_chan(-1), ringbuf(bufsize) { }