kopia lustrzana https://gitlab.com/eliggett/wfview
Cleaned up some debug output
rodzic
0cee949dcf
commit
b5715d6024
|
@ -109,7 +109,7 @@ void commHandler::receiveDataIn()
|
|||
|
||||
if(rolledBack)
|
||||
{
|
||||
qDebug() << "Rolled back and was successfull. Length: " << inPortData.length();
|
||||
// qDebug() << "Rolled back and was successfull. Length: " << inPortData.length();
|
||||
//printHex(inPortData, false, true);
|
||||
rolledBack = false;
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ void commHandler::openPort()
|
|||
return;
|
||||
} else {
|
||||
// debug?
|
||||
//qDebug() << "Could not open serial port.";
|
||||
qDebug() << "Could not open serial port " << portName;
|
||||
isConnected = false;
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -391,8 +391,8 @@ void rigCommander::parseData(QByteArray dataInput)
|
|||
parseData(payloadIn);
|
||||
return;
|
||||
} else {
|
||||
qDebug() << "Error: Could not reconstruct corrupted data: ";
|
||||
printHex(data, false, true);
|
||||
//qDebug() << "Error: Could not reconstruct corrupted data: ";
|
||||
//printHex(data, false, true);
|
||||
// data.right(data.length() - data.find('\xFE\xFE'));
|
||||
// if found do not return and keep going.
|
||||
return;
|
||||
|
|
|
@ -182,7 +182,6 @@ wfmain::wfmain(QWidget *parent) :
|
|||
plot->graph(1)->setBrush(QBrush(color));
|
||||
|
||||
drawPeaks = false;
|
||||
// ui->drawPeakChk->setChecked(false);
|
||||
|
||||
ui->freqMhzLineEdit->setValidator( new QDoubleValidator(0, 100, 6, this));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue