/QMK-Groundstation/trunk/Classes/cConnection.cpp |
---|
71,6 → 71,8 |
disconnect(TTY, SIGNAL(newDataReceived(const QByteArray &)), this, 0); |
b_isOpen = false; |
return b_isOpen; |
} |
89,9 → 91,11 |
TTY->enableReceiving(); |
TTY->open(); |
ToolBox::Wait(1000); |
qDebug("Try Open"); |
if (TTY->isOpen()) |
{ |
qDebug("Opend"); |
connect(TTY, SIGNAL(newDataReceived(const QByteArray &)), this, SLOT(slot_newDataReceived(const QByteArray &))); |
TTY->receiveData(); |