kopia lustrzana https://gitlab.com/eliggett/wfview
Only show server status message once
rodzic
4ebfe457c7
commit
55baec6100
|
@ -332,7 +332,10 @@ void servermain::findSerialPort()
|
||||||
|
|
||||||
void servermain::receiveStatusUpdate(QString text)
|
void servermain::receiveStatusUpdate(QString text)
|
||||||
{
|
{
|
||||||
std::cout << text.toLocal8Bit().toStdString() << "\n";
|
if (text != lastMessage) {
|
||||||
|
std::cout << text.toLocal8Bit().toStdString() << "\n";
|
||||||
|
lastMessage = text;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -195,6 +195,7 @@ private:
|
||||||
QTimer * pttTimer;
|
QTimer * pttTimer;
|
||||||
uint16_t loopTickCounter;
|
uint16_t loopTickCounter;
|
||||||
uint16_t slowCmdNum;
|
uint16_t slowCmdNum;
|
||||||
|
QString lastMessage="";
|
||||||
|
|
||||||
void makeRig();
|
void makeRig();
|
||||||
void rigConnections();
|
void rigConnections();
|
||||||
|
|
Ładowanie…
Reference in New Issue