fix call to dropSync()
This commit is contained in:
parent
5e84ec99ff
commit
ddd4e8a269
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue