/QMK-Groundstation/branches/libMK/Classes/cConnection.cpp |
---|
23,9 → 23,9 |
i_Type = 0; |
TTY = new ManageSerialPort(); |
//o_Timer = new QTimer(this); |
o_Timer = new QTimer(this); |
//connect(o_Timer, SIGNAL(timeout()), SLOT(slot_Timer())); |
connect(o_Timer, SIGNAL(timeout()), SLOT(slot_Timer())); |
TTY->setBaudRate(BAUD57600); //BaudRate |
TTY->setDataBits(DATA_8); //DataBits |
242,7 → 242,7 |
void cConnection::stop_ReSend() |
{ |
//o_Timer->stop(); |
o_Timer->stop(); |
} |
void cConnection::slot_Timer() |
/QMK-Groundstation/branches/libMK/Classes/cConnection.h |
---|
46,7 → 46,7 |
private: |
ManageSerialPort *TTY; |
QTcpSocket *TcpSocket; |
//QTimer *o_Timer; |
QTimer *o_Timer; |
QByteArray s_ReSend; |