diff --git a/src/protocols/PhysicalLayer/PhysicalLayer.cpp b/src/protocols/PhysicalLayer/PhysicalLayer.cpp index f8fbd651..152c37d0 100644 --- a/src/protocols/PhysicalLayer/PhysicalLayer.cpp +++ b/src/protocols/PhysicalLayer/PhysicalLayer.cpp @@ -208,7 +208,7 @@ int16_t PhysicalLayer::readData(String& str, size_t len) { uint8_t* PhysicalLayer::getDirectBuffer(bool drop) { if(drop) { - dropsync(); + dropSync(); } return (this->buffer); }