Skip to content

Commit cb8c214

Browse files
iabdalkaderdelta-G
authored andcommitted
libraries/SoftwareSerial: Fix ring buffer data type.
Fixes #243. Signed-off-by: iabdalkader <[email protected]>
1 parent 8cd258c commit cb8c214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SoftwareSerial/src/SoftwareSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ template <size_t N> struct ss_descr_t {
5757
fsp_dma_t dma;
5858
fsp_pin_t pin;
5959
int irq_chan;
60-
::RingBuffer<char> ringbuf;
60+
::RingBuffer<uint8_t> ringbuf;
6161
uint32_t dmabuf[N][SS_MAX_FRAME_SIZE] __attribute__((aligned(4)));
6262
ss_descr_t(size_t bufsize): irq_chan(-1), ringbuf(bufsize) {
6363
}

0 commit comments

Comments
 (0)