fix call to dropSync()

This commit is contained in:
Crsarmv7l 2024-04-29 20:22:38 -04:00 committed by GitHub
parent 5e84ec99ff
commit ddd4e8a269
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -208,7 +208,7 @@ int16_t PhysicalLayer::readData(String& str, size_t len) {
uint8_t* PhysicalLayer::getDirectBuffer(bool drop) { uint8_t* PhysicalLayer::getDirectBuffer(bool drop) {
if(drop) { if(drop) {
dropsync(); dropSync();
} }
return (this->buffer); return (this->buffer);
} }