Skip to content

Commit fe72ebf

Browse files
authored
Merge pull request #314 from iabdalkader/software_serial_fix
libraries/SoftwareSerial: Fix ring buffer data type.
2 parents 74921ae + 144688e commit fe72ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/SoftwareSerial/src/SoftwareSerial.h

+1-1
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)