We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c11f4f commit f788720Copy full SHA for f788720
hardware/arduino/cores/arduino/HardwareSerial.h
@@ -43,6 +43,7 @@ class HardwareSerial : public Stream
43
uint8_t _rxcie;
44
uint8_t _udrie;
45
uint8_t _u2x;
46
+ uint8_t _serial_buffer_wait;
47
public:
48
HardwareSerial(ring_buffer *rx_buffer, ring_buffer *tx_buffer,
49
volatile uint8_t *ubrrh, volatile uint8_t *ubrrl,
@@ -57,6 +58,7 @@ class HardwareSerial : public Stream
57
58
virtual void flush(void);
59
virtual size_t write(uint8_t);
60
using Print::write; // pull in write(str) and write(buf, size) from Print
61
+ virtual void waitForBufferSpace(uint8_t);
62
};
63
64
#if defined(UBRRH) || defined(UBRR0H)
0 commit comments