mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-06-30 12:30:59 +02:00
cbuf: allow inheritance (#5883)
changes "private" vars to "protected" so that descendants are allowed to access them.
This commit is contained in:
@ -62,7 +62,7 @@ public:
|
|||||||
|
|
||||||
cbuf *next;
|
cbuf *next;
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
inline char* wrap_if_bufend(char* ptr) const
|
inline char* wrap_if_bufend(char* ptr) const
|
||||||
{
|
{
|
||||||
return (ptr == _bufend) ? _buf : ptr;
|
return (ptr == _bufend) ? _buf : ptr;
|
||||||
|
Reference in New Issue
Block a user