mirror of
https://github.com/thunderbug1/Spherebot-Host-GUI.git
synced 2026-03-09 19:36:46 +01:00
implemented sending/resending- buffer and lots of other bugfixes
This commit is contained in:
@@ -14,7 +14,8 @@ void rxThread::receiveData()
|
||||
if(bot->port->canReadLine())
|
||||
{
|
||||
line = bot->port->readLine(1024);
|
||||
line.chop(1);
|
||||
//qDebug()<<"receiving raw: " << line << endl;/////////////////////////////
|
||||
while(line.endsWith('\n')) line.chop(1);
|
||||
qDebug()<<"receiving: " << line << endl;/////////////////////////////
|
||||
emit lineReceived(line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user