Skip to content

Commit

Permalink
Merge pull request #314 from iabdalkader/software_serial_fix
Browse files Browse the repository at this point in the history
libraries/SoftwareSerial: Fix ring buffer data type.
  • Loading branch information
facchinm authored May 13, 2024
2 parents 74921ae + 144688e commit fe72ebf
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 fe72ebf

Please sign in to comment.