Fix bug: Too many packets requested corrupting serial buffer
This commit is contained in:
parent
9cb3250268
commit
fc1fb48930
3 changed files with 60 additions and 46 deletions
|
@ -88,6 +88,8 @@ namespace create {
|
|||
// Start and stop reading data from Create
|
||||
bool startReading();
|
||||
void stopReading();
|
||||
// Notifies main thread that data is fresh and makes the user callback
|
||||
void notifyDataReady();
|
||||
|
||||
public:
|
||||
Serial(boost::shared_ptr<Data> data, const uint8_t& header = create::util::CREATE_2_HEADER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue