From 5ec0707418dce5f0d47316bc79f9913bdd33ecbf Mon Sep 17 00:00:00 2001 From: William Woodall Date: Sat, 14 Jan 2012 21:24:48 -0600 Subject: [PATCH] Changed the stopListening function, now it no longer removes filters, just stops listening and cleans the data buffer of partial messages. --- src/serial_listener.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/serial_listener.cc b/src/serial_listener.cc index 84adc87..599ee88 100644 --- a/src/serial_listener.cc +++ b/src/serial_listener.cc @@ -114,9 +114,6 @@ SerialListener::stopListening() { this->data_buffer = ""; this->serial_port_ = NULL; - - // Delete all the filters - this->removeAllFilters(); } size_t