Skip to content

Commit

Permalink
Fix arduino::RingBuffer error
Browse files Browse the repository at this point in the history
  • Loading branch information
giulcioffi committed Nov 23, 2020
1 parent d462862 commit f25e3da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cores/arduino/Uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#define SERIAL_BUFFER_SIZE 64

class Uart : public arduino::HardwareSerial
class Uart : public HardwareSerial
{
public:
Uart(SERCOM *_s, uint8_t _pinRX, uint8_t _pinTX, SercomRXPad _padRX, SercomUartTXPad _padTX);
Expand All @@ -46,8 +46,8 @@ class Uart : public arduino::HardwareSerial

private:
SERCOM *sercom;
arduino::RingBuffer rxBuffer;
arduino::RingBuffer txBuffer;
RingBuffer rxBuffer;
RingBuffer txBuffer;

uint8_t uc_pinRX;
uint8_t uc_pinTX;
Expand Down

0 comments on commit f25e3da

Please sign in to comment.