Skip to content

Commit

Permalink
Tidy code thinkgear (#11)
Browse files Browse the repository at this point in the history
* Fix serial

* Resolve conflicts
  • Loading branch information
donarturo11 committed Dec 12, 2023
1 parent ba8d1a0 commit d477395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QThinkGear/QThinkGear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ QThinkGear::QThinkGear(QObject *parent) :
{
qDebug() << "QThinkGear c-tor";
connect(&_device, SIGNAL(readyRead()), this, SLOT(onReadyRead()));
_device.setReadBufferSize(512);
_device.setReadBufferSize(BUFFER_SIZE);
QThinkGear::currentInstance = this;
THINKGEAR_initParser(&_parser, PARSER_TYPE_PACKETS, QThinkGearDataHandle, &_handler);
_status = ThinkGearStatus::NoConnected;
Expand Down

0 comments on commit d477395

Please sign in to comment.