From ddd4e8a2699d7eadf3a7548843e36847361ef72a Mon Sep 17 00:00:00 2001 From: Crsarmv7l <85343771+Crsarmv7l@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:22:38 -0400 Subject: [PATCH] fix call to dropSync() --- src/protocols/PhysicalLayer/PhysicalLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }