Cleaned up some debug output

merge-requests/1/merge
Elliott Liggett 2018-11-29 13:57:15 -08:00
rodzic 0cee949dcf
commit b5715d6024
3 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -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;
}

Wyświetl plik

@ -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;

Wyświetl plik

@ -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));