Skip to content

Commit 28f9517

Browse files
committed
Fix arduino::RingBuffer error
1 parent 932329d commit 28f9517

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cores/arduino/Uart.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#define SERIAL_BUFFER_SIZE 64
2626

27-
class Uart : public arduino::HardwareSerial
27+
class Uart : public HardwareSerial
2828
{
2929
public:
3030
Uart(SERCOM *_s, uint8_t _pinRX, uint8_t _pinTX, SercomRXPad _padRX, SercomUartTXPad _padTX);
@@ -46,8 +46,8 @@ class Uart : public arduino::HardwareSerial
4646

4747
private:
4848
SERCOM *sercom;
49-
arduino::RingBuffer rxBuffer;
50-
arduino::RingBuffer txBuffer;
49+
RingBuffer rxBuffer;
50+
RingBuffer txBuffer;
5151

5252
uint8_t uc_pinRX;
5353
uint8_t uc_pinTX;

0 commit comments

Comments
 (0)