Skip to content

Commit

Permalink
libraries/SoftwareSerial: Fix ring buffer data type.
Browse files Browse the repository at this point in the history
Fixes #243.

Signed-off-by: iabdalkader <[email protected]>
  • Loading branch information
iabdalkader committed May 13, 2024
1 parent 74921ae commit 144688e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SoftwareSerial/src/SoftwareSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ template <size_t N> struct ss_descr_t {
fsp_dma_t dma;
fsp_pin_t pin;
int irq_chan;
::RingBuffer<char> ringbuf;
::RingBuffer<uint8_t> ringbuf;
uint32_t dmabuf[N][SS_MAX_FRAME_SIZE] __attribute__((aligned(4)));
ss_descr_t(size_t bufsize): irq_chan(-1), ringbuf(bufsize) {
}
Expand Down

0 comments on commit 144688e

Please sign in to comment.