From b0c517e647fdbb0fc282bec93844ac07009c5baa Mon Sep 17 00:00:00 2001 From: Crsarmv7l <85343771+Crsarmv7l@users.noreply.github.com> Date: Sun, 5 May 2024 16:07:02 -0400 Subject: [PATCH] Remove getDirectBuffer --- src/protocols/PhysicalLayer/PhysicalLayer.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/protocols/PhysicalLayer/PhysicalLayer.cpp b/src/protocols/PhysicalLayer/PhysicalLayer.cpp index 1cc9c9c6..70464ba7 100644 --- a/src/protocols/PhysicalLayer/PhysicalLayer.cpp +++ b/src/protocols/PhysicalLayer/PhysicalLayer.cpp @@ -207,13 +207,6 @@ int16_t PhysicalLayer::readData(String& str, size_t len) { } #endif -uint8_t* PhysicalLayer::getDirectBuffer(bool drop) { - if(drop) { - dropSync(); - } - return (this->buffer); -} - int16_t PhysicalLayer::readData(uint8_t* data, size_t len) { (void)data; (void)len;