diff --git a/cores/esp32/cbuf.h b/cores/esp32/cbuf.h index ca65affc..490352e3 100644 --- a/cores/esp32/cbuf.h +++ b/cores/esp32/cbuf.h @@ -62,7 +62,7 @@ public: cbuf *next; -private: +protected: inline char* wrap_if_bufend(char* ptr) const { return (ptr == _bufend) ? _buf : ptr;