mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
Changed the stopListening function, now it no longer removes filters, just stops listening and cleans the data buffer of partial messages.
This commit is contained in:
parent
ae3e4a1f51
commit
5ec0707418
@ -114,9 +114,6 @@ SerialListener::stopListening() {
|
|||||||
|
|
||||||
this->data_buffer = "";
|
this->data_buffer = "";
|
||||||
this->serial_port_ = NULL;
|
this->serial_port_ = NULL;
|
||||||
|
|
||||||
// Delete all the filters
|
|
||||||
this->removeAllFilters();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user